pom.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ /*
  4. ~ * Copyright 2019 http://www.hswebframework.org
  5. ~ *
  6. ~ * Licensed under the Apache License, Version 2.0 (the "License");
  7. ~ * you may not use this file except in compliance with the License.
  8. ~ * You may obtain a copy of the License at
  9. ~ *
  10. ~ * http://www.apache.org/licenses/LICENSE-2.0
  11. ~ *
  12. ~ * Unless required by applicable law or agreed to in writing, software
  13. ~ * distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ * See the License for the specific language governing permissions and
  16. ~ * limitations under the License.
  17. ~ */
  18. -->
  19. <project xmlns="http://maven.apache.org/POM/4.0.0"
  20. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <groupId>org.hswebframework.web</groupId>
  24. <artifactId>hsweb-framework</artifactId>
  25. <version>3.0.5</version>
  26. <modules>
  27. <module>hsweb-starter</module>
  28. <module>hsweb-core</module>
  29. <module>hsweb-authorization</module>
  30. <module>hsweb-system</module>
  31. <module>hsweb-tests</module>
  32. <module>hsweb-datasource</module>
  33. <module>hsweb-commons</module>
  34. <module>hsweb-logging</module>
  35. <module>hsweb-concurrent</module>
  36. <module>hsweb-boost</module>
  37. <module>hsweb-thirdparty</module>
  38. </modules>
  39. <packaging>pom</packaging>
  40. <name>hsweb framework</name>
  41. <url>http://www.hswebframework.org</url>
  42. <description>hsweb (haʊs wɛb)
  43. 是一个用于快速搭建企业后台管理系统的基础项目,集成一揽子便捷功能如:通用增删改查,在线代码生成,权限管理(可控制到列和行),动态多数据源分布式事务,动态脚本,动态定时任务,在线数据库维护等等
  44. </description>
  45. <licenses>
  46. <license>
  47. <name>The Apache License, Version 2.0</name>
  48. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  49. </license>
  50. </licenses>
  51. <developers>
  52. <developer>
  53. <name>zhouhao</name>
  54. <email>i@hsweb.me</email>
  55. <roles>
  56. <role>Owner</role>
  57. </roles>
  58. <timezone>+8</timezone>
  59. <url>https://github.com/zhou-hao</url>
  60. </developer>
  61. </developers>
  62. <scm>
  63. <connection>scm:git:https://github.com/hs-web/hsweb-framework.git</connection>
  64. <developerConnection>scm:git:https://github.com/hs-web/hsweb-framework.git</developerConnection>
  65. <url>https://github.com/hs-web/hsweb-framework</url>
  66. <tag>${project.version}</tag>
  67. </scm>
  68. <properties>
  69. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  70. <project.build.locales>zh_CN</project.build.locales>
  71. <java.version>1.8</java.version>
  72. <project.build.jdk>${java.version}</project.build.jdk>
  73. <spring.boot.version>1.5.13.RELEASE</spring.boot.version>
  74. <javassist.version>3.20.0-GA</javassist.version>
  75. <activiti.version>5.19.0.2</activiti.version>
  76. <fastjson.version>1.2.47</fastjson.version>
  77. <h2.version>1.4.191</h2.version>
  78. <mysql.version>5.1.39</mysql.version>
  79. <cglib.version>3.2.2</cglib.version>
  80. <aspectj.version>1.6.12</aspectj.version>
  81. <hibernate.validator.version>5.1.1.Final</hibernate.validator.version>
  82. <hsweb.ezorm.version>3.0.2</hsweb.ezorm.version>
  83. <hsweb.utils.version>3.0.2</hsweb.utils.version>
  84. <hsweb.expands.version>3.0.2</hsweb.expands.version>
  85. <swagger.version>2.7.0</swagger.version>
  86. </properties>
  87. <profiles>
  88. <profile>
  89. <id>release</id>
  90. <build>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.sonatype.plugins</groupId>
  94. <artifactId>nexus-staging-maven-plugin</artifactId>
  95. <version>1.6.3</version>
  96. <extensions>true</extensions>
  97. <configuration>
  98. <serverId>sonatype-releases</serverId>
  99. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  100. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  101. <stagingProgressTimeoutMinutes>120</stagingProgressTimeoutMinutes>
  102. </configuration>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-release-plugin</artifactId>
  107. <configuration>
  108. <autoVersionSubmodules>true</autoVersionSubmodules>
  109. <useReleaseProfile>false</useReleaseProfile>
  110. <releaseProfiles>release</releaseProfiles>
  111. <goals>deploy</goals>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-gpg-plugin</artifactId>
  117. <version>1.5</version>
  118. <executions>
  119. <execution>
  120. <id>sign-artifacts</id>
  121. <phase>verify</phase>
  122. <goals>
  123. <goal>sign</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-javadoc-plugin</artifactId>
  131. <version>2.9.1</version>
  132. <configuration>
  133. <additionalparam>-Xdoclint:none</additionalparam>
  134. </configuration>
  135. <executions>
  136. <execution>
  137. <id>attach-javadocs</id>
  138. <goals>
  139. <goal>jar</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. <distributionManagement>
  147. <repository>
  148. <id>sonatype-releases</id>
  149. <name>sonatype repository</name>
  150. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
  151. </repository>
  152. <snapshotRepository>
  153. <id>sonatype-snapshots</id>
  154. <name>Nexus Snapshot Repository</name>
  155. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  156. </snapshotRepository>
  157. </distributionManagement>
  158. </profile>
  159. </profiles>
  160. <build>
  161. <plugins>
  162. <plugin>
  163. <groupId>org.jacoco</groupId>
  164. <artifactId>jacoco-maven-plugin</artifactId>
  165. <version>0.8.0</version>
  166. <executions>
  167. <execution>
  168. <goals>
  169. <goal>prepare-agent</goal>
  170. </goals>
  171. </execution>
  172. <execution>
  173. <id>report</id>
  174. <phase>test</phase>
  175. <goals>
  176. <goal>report</goal>
  177. </goals>
  178. </execution>
  179. </executions>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.apache.maven.plugins</groupId>
  183. <artifactId>maven-scm-plugin</artifactId>
  184. <version>1.8.1</version>
  185. <configuration>
  186. <connectionType>connection</connectionType>
  187. </configuration>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-source-plugin</artifactId>
  192. <version>2.4</version>
  193. <executions>
  194. <execution>
  195. <id>attach-sources</id>
  196. <goals>
  197. <goal>jar-no-fork</goal>
  198. </goals>
  199. </execution>
  200. </executions>
  201. </plugin>
  202. <plugin>
  203. <groupId>org.apache.maven.plugins</groupId>
  204. <artifactId>maven-compiler-plugin</artifactId>
  205. <version>3.1</version>
  206. <configuration>
  207. <source>${project.build.jdk}</source>
  208. <target>${project.build.jdk}</target>
  209. <encoding>${project.build.sourceEncoding}</encoding>
  210. </configuration>
  211. </plugin>
  212. <plugin>
  213. <groupId>org.codehaus.gmavenplus</groupId>
  214. <artifactId>gmavenplus-plugin</artifactId>
  215. <version>1.6.1</version>
  216. <executions>
  217. <execution>
  218. <goals>
  219. <!--<goal>addSources</goal>-->
  220. <goal>addTestSources</goal>
  221. <!--<goal>generateStubs</goal>-->
  222. <goal>compile</goal>
  223. <!--<goal>generateTestStubs</goal>-->
  224. <goal>compileTests</goal>
  225. <!--<goal>removeStubs</goal>-->
  226. <!--<goal>removeTestStubs</goal>-->
  227. </goals>
  228. </execution>
  229. </executions>
  230. <dependencies>
  231. <dependency>
  232. <groupId>org.codehaus.groovy</groupId>
  233. <artifactId>groovy-all</artifactId>
  234. <version>2.4.15</version>
  235. </dependency>
  236. </dependencies>
  237. </plugin>
  238. <plugin>
  239. <groupId>org.apache.maven.plugins</groupId>
  240. <artifactId>maven-surefire-plugin</artifactId>
  241. <version>2.17</version>
  242. <configuration>
  243. <includes>
  244. <include>**/*Test.java</include>
  245. <include>**/*Test.groovy</include>
  246. <include>**/*Tests.java</include>
  247. <include>**/*Test.groovy</include>
  248. <include>**/*Spec.java</include>
  249. </includes>
  250. </configuration>
  251. </plugin>
  252. </plugins>
  253. </build>
  254. <dependencies>
  255. <!--<dependency>-->
  256. <!--<groupId>io.reactivex.rxjava2</groupId>-->
  257. <!--<artifactId>rxjava</artifactId>-->
  258. <!--</dependency>-->
  259. <dependency>
  260. <groupId>org.codehaus.groovy</groupId>
  261. <artifactId>groovy-all</artifactId>
  262. <version>2.4.15</version>
  263. <type>pom</type>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.projectlombok</groupId>
  267. <artifactId>lombok</artifactId>
  268. <scope>provided</scope>
  269. </dependency>
  270. <dependency>
  271. <groupId>junit</groupId>
  272. <artifactId>junit</artifactId>
  273. <scope>test</scope>
  274. </dependency>
  275. <dependency>
  276. <groupId>org.mockito</groupId>
  277. <artifactId>mockito-all</artifactId>
  278. <version>1.10.19</version>
  279. <scope>test</scope>
  280. </dependency>
  281. <dependency>
  282. <groupId>ch.qos.logback</groupId>
  283. <artifactId>logback-classic</artifactId>
  284. <version>1.1.7</version>
  285. <scope>test</scope>
  286. </dependency>
  287. </dependencies>
  288. <dependencyManagement>
  289. <dependencies>
  290. <dependency>
  291. <groupId>io.vavr</groupId>
  292. <artifactId>vavr</artifactId>
  293. <version>0.9.2</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.projectlombok</groupId>
  297. <artifactId>lombok</artifactId>
  298. <version>1.16.18</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>io.reactivex.rxjava2</groupId>
  302. <artifactId>rxjava</artifactId>
  303. <version>2.1.8</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>org.jooq</groupId>
  307. <artifactId>jool-java-8</artifactId>
  308. <version>0.9.13</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>junit</groupId>
  312. <artifactId>junit</artifactId>
  313. <version>4.12</version>
  314. <scope>test</scope>
  315. </dependency>
  316. <dependency>
  317. <groupId>com.alibaba</groupId>
  318. <artifactId>fastjson</artifactId>
  319. <version>${fastjson.version}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>io.springfox</groupId>
  323. <artifactId>springfox-swagger2</artifactId>
  324. <version>${swagger.version}</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>io.springfox</groupId>
  328. <artifactId>springfox-swagger-ui</artifactId>
  329. <version>${swagger.version}</version>
  330. </dependency>
  331. <dependency>
  332. <groupId>io.swagger</groupId>
  333. <artifactId>swagger-annotations</artifactId>
  334. <version>1.5.10</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>org.redisson</groupId>
  338. <artifactId>redisson</artifactId>
  339. <version>3.10.0</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>commons-beanutils</groupId>
  343. <artifactId>commons-beanutils</artifactId>
  344. <version>1.9.3</version>
  345. </dependency>
  346. <dependency>
  347. <groupId>org.springframework.boot</groupId>
  348. <artifactId>spring-boot-dependencies</artifactId>
  349. <version>${spring.boot.version}</version>
  350. <type>pom</type>
  351. <scope>import</scope>
  352. </dependency>
  353. <dependency>
  354. <groupId>org.hswebframework</groupId>
  355. <artifactId>hsweb-easy-orm</artifactId>
  356. <version>${hsweb.ezorm.version}</version>
  357. <exclusions>
  358. <exclusion>
  359. <groupId>org.hswebframework</groupId>
  360. <artifactId>hsweb-expands-script</artifactId>
  361. </exclusion>
  362. <exclusion>
  363. <groupId>com.alibaba</groupId>
  364. <artifactId>fastjson</artifactId>
  365. </exclusion>
  366. </exclusions>
  367. <type>pom</type>
  368. <scope>import</scope>
  369. </dependency>
  370. <dependency>
  371. <groupId>org.hswebframework</groupId>
  372. <artifactId>hsweb-expands</artifactId>
  373. <version>${hsweb.expands.version}</version>
  374. <type>pom</type>
  375. <scope>import</scope>
  376. <exclusions>
  377. <exclusion>
  378. <groupId>org.springframework</groupId>
  379. <artifactId>spring-expression</artifactId>
  380. </exclusion>
  381. <exclusion>
  382. <groupId>com.alibaba</groupId>
  383. <artifactId>fastjson</artifactId>
  384. </exclusion>
  385. </exclusions>
  386. </dependency>
  387. <dependency>
  388. <groupId>org.hswebframework</groupId>
  389. <artifactId>hsweb-utils</artifactId>
  390. <version>${hsweb.utils.version}</version>
  391. <exclusions>
  392. <exclusion>
  393. <groupId>com.alibaba</groupId>
  394. <artifactId>fastjson</artifactId>
  395. </exclusion>
  396. </exclusions>
  397. </dependency>
  398. </dependencies>
  399. </dependencyManagement>
  400. <repositories>
  401. <repository>
  402. <id>hsweb-nexus</id>
  403. <name>Nexus Release Repository</name>
  404. <url>http://nexus.hsweb.me/content/groups/public/</url>
  405. <snapshots>
  406. <enabled>true</enabled>
  407. <updatePolicy>
  408. always
  409. </updatePolicy>
  410. </snapshots>
  411. </repository>
  412. <repository>
  413. <id>aliyun-nexus</id>
  414. <name>aliyun</name>
  415. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  416. </repository>
  417. </repositories>
  418. <distributionManagement>
  419. <repository>
  420. <id>releases</id>
  421. <name>Nexus Release Repository</name>
  422. <url>http://nexus.hsweb.me/content/repositories/releases/</url>
  423. </repository>
  424. <snapshotRepository>
  425. <id>snapshots</id>
  426. <name>Nexus Snapshot Repository</name>
  427. <url>http://nexus.hsweb.me/content/repositories/snapshots/</url>
  428. </snapshotRepository>
  429. </distributionManagement>
  430. <pluginRepositories>
  431. <pluginRepository>
  432. <id>aliyun-nexus</id>
  433. <name>aliyun</name>
  434. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  435. </pluginRepository>
  436. </pluginRepositories>
  437. </project>