pom.xml 18 KB

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