pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ /*
  4. ~ * Copyright 2016 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.0-RC-SNAPSHOT</version>
  26. <modules>
  27. <module>hsweb-starter</module>
  28. <module>hsweb-core</module>
  29. <module>hsweb-authorization</module>
  30. <module>hsweb-message</module>
  31. <module>hsweb-system</module>
  32. <module>hsweb-tests</module>
  33. <module>hsweb-datasource</module>
  34. <module>hsweb-commons</module>
  35. <module>hsweb-logging</module>
  36. <module>hsweb-concurrent</module>
  37. <module>hsweb-examples</module>
  38. <module>hsweb-boost</module>
  39. <module>hsweb-thirdparty</module>
  40. </modules>
  41. <packaging>pom</packaging>
  42. <name>hsweb framework</name>
  43. <url>http://www.hswebframework.org</url>
  44. <description>hsweb (haʊs wɛb)
  45. 是一个用于快速搭建企业后台管理系统的基础项目,集成一揽子便捷功能如:通用增删改查,在线代码生成,权限管理(可控制到列和行),动态多数据源分布式事务,动态脚本,动态定时任务,在线数据库维护等等
  46. </description>
  47. <licenses>
  48. <license>
  49. <name>The Apache License, Version 2.0</name>
  50. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  51. </license>
  52. </licenses>
  53. <developers>
  54. <developer>
  55. <name>zhouhao</name>
  56. <email>i@hsweb.me</email>
  57. <roles>
  58. <role>Owner</role>
  59. </roles>
  60. <timezone>+8</timezone>
  61. <url>https://github.com/zhou-hao</url>
  62. </developer>
  63. </developers>
  64. <scm>
  65. <connection>scm:git:https://github.com/hs-web/hsweb-framework.git</connection>
  66. <developerConnection>scm:git:https://github.com/hs-web/hsweb-framework.git</developerConnection>
  67. <url>https://github.com/hs-web/hsweb-framework</url>
  68. <tag>${project.version}</tag>
  69. </scm>
  70. <properties>
  71. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  72. <project.build.locales>zh_CN</project.build.locales>
  73. <java.version>1.8</java.version>
  74. <project.build.jdk>${java.version}</project.build.jdk>
  75. <spring.boot.version>1.5.13.RELEASE</spring.boot.version>
  76. <javassist.version>3.20.0-GA</javassist.version>
  77. <activiti.version>5.19.0.2</activiti.version>
  78. <fastjson.version>1.2.47</fastjson.version>
  79. <h2.version>1.4.191</h2.version>
  80. <mysql.version>5.1.39</mysql.version>
  81. <cglib.version>3.2.2</cglib.version>
  82. <aspectj.version>1.6.12</aspectj.version>
  83. <hibernate.validator.version>5.1.1.Final</hibernate.validator.version>
  84. <hsweb.ezorm.version>3.0.1-SNAPSHOT</hsweb.ezorm.version>
  85. <hsweb.utils.version>3.0.2</hsweb.utils.version>
  86. <hsweb.expands.version>3.0.2-SNAPSHOT</hsweb.expands.version>
  87. <swagger.version>2.7.0</swagger.version>
  88. </properties>
  89. <profiles>
  90. <profile>
  91. <id>release</id>
  92. <build>
  93. <plugins>
  94. <plugin>
  95. <groupId>org.sonatype.plugins</groupId>
  96. <artifactId>nexus-staging-maven-plugin</artifactId>
  97. <version>1.6.3</version>
  98. <extensions>true</extensions>
  99. <configuration>
  100. <serverId>sonatype-releases</serverId>
  101. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  102. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  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.apache.maven.plugins</groupId>
  215. <artifactId>maven-surefire-plugin</artifactId>
  216. <version>2.17</version>
  217. <configuration>
  218. <includes>
  219. <include>
  220. **/org/hswebframework/**/*Tests.java
  221. </include>
  222. </includes>
  223. </configuration>
  224. </plugin>
  225. </plugins>
  226. </build>
  227. <dependencies>
  228. <!--<dependency>-->
  229. <!--<groupId>io.reactivex.rxjava2</groupId>-->
  230. <!--<artifactId>rxjava</artifactId>-->
  231. <!--</dependency>-->
  232. <dependency>
  233. <groupId>org.projectlombok</groupId>
  234. <artifactId>lombok</artifactId>
  235. <scope>provided</scope>
  236. </dependency>
  237. <dependency>
  238. <groupId>junit</groupId>
  239. <artifactId>junit</artifactId>
  240. <scope>test</scope>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.mockito</groupId>
  244. <artifactId>mockito-all</artifactId>
  245. <version>1.10.19</version>
  246. <scope>test</scope>
  247. </dependency>
  248. <dependency>
  249. <groupId>ch.qos.logback</groupId>
  250. <artifactId>logback-classic</artifactId>
  251. <version>1.1.7</version>
  252. <scope>test</scope>
  253. </dependency>
  254. </dependencies>
  255. <dependencyManagement>
  256. <dependencies>
  257. <dependency>
  258. <groupId>org.projectlombok</groupId>
  259. <artifactId>lombok</artifactId>
  260. <version>1.16.18</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>io.reactivex.rxjava2</groupId>
  264. <artifactId>rxjava</artifactId>
  265. <version>2.1.8</version>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.jooq</groupId>
  269. <artifactId>jool-java-8</artifactId>
  270. <version>0.9.13</version>
  271. </dependency>
  272. <dependency>
  273. <groupId>junit</groupId>
  274. <artifactId>junit</artifactId>
  275. <version>4.12</version>
  276. <scope>test</scope>
  277. </dependency>
  278. <dependency>
  279. <groupId>com.alibaba</groupId>
  280. <artifactId>fastjson</artifactId>
  281. <version>${fastjson.version}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>io.springfox</groupId>
  285. <artifactId>springfox-swagger2</artifactId>
  286. <version>${swagger.version}</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>io.springfox</groupId>
  290. <artifactId>springfox-swagger-ui</artifactId>
  291. <version>${swagger.version}</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>io.swagger</groupId>
  295. <artifactId>swagger-annotations</artifactId>
  296. <version>1.5.10</version>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.redisson</groupId>
  300. <artifactId>redisson</artifactId>
  301. <version>3.7.0</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>commons-beanutils</groupId>
  305. <artifactId>commons-beanutils</artifactId>
  306. <version>1.9.3</version>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.springframework.boot</groupId>
  310. <artifactId>spring-boot-dependencies</artifactId>
  311. <version>${spring.boot.version}</version>
  312. <type>pom</type>
  313. <scope>import</scope>
  314. </dependency>
  315. <dependency>
  316. <groupId>org.hswebframework</groupId>
  317. <artifactId>hsweb-easy-orm</artifactId>
  318. <version>${hsweb.ezorm.version}</version>
  319. <exclusions>
  320. <exclusion>
  321. <groupId>org.hswebframework</groupId>
  322. <artifactId>hsweb-expands-script</artifactId>
  323. </exclusion>
  324. <exclusion>
  325. <groupId>com.alibaba</groupId>
  326. <artifactId>fastjson</artifactId>
  327. </exclusion>
  328. </exclusions>
  329. <type>pom</type>
  330. <scope>import</scope>
  331. </dependency>
  332. <dependency>
  333. <groupId>org.hswebframework</groupId>
  334. <artifactId>hsweb-expands</artifactId>
  335. <version>${hsweb.expands.version}</version>
  336. <type>pom</type>
  337. <scope>import</scope>
  338. <exclusions>
  339. <exclusion>
  340. <groupId>org.springframework</groupId>
  341. <artifactId>spring-expression</artifactId>
  342. </exclusion>
  343. <exclusion>
  344. <groupId>com.alibaba</groupId>
  345. <artifactId>fastjson</artifactId>
  346. </exclusion>
  347. </exclusions>
  348. </dependency>
  349. <dependency>
  350. <groupId>org.hswebframework</groupId>
  351. <artifactId>hsweb-utils</artifactId>
  352. <version>${hsweb.utils.version}</version>
  353. <exclusions>
  354. <exclusion>
  355. <groupId>com.alibaba</groupId>
  356. <artifactId>fastjson</artifactId>
  357. </exclusion>
  358. </exclusions>
  359. </dependency>
  360. </dependencies>
  361. </dependencyManagement>
  362. <repositories>
  363. <repository>
  364. <id>hsweb-nexus</id>
  365. <name>Nexus Release Repository</name>
  366. <url>http://nexus.hsweb.me/content/groups/public/</url>
  367. <snapshots>
  368. <enabled>true</enabled>
  369. <updatePolicy>
  370. always
  371. </updatePolicy>
  372. </snapshots>
  373. </repository>
  374. <repository>
  375. <id>aliyun-nexus</id>
  376. <name>aliyun</name>
  377. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  378. </repository>
  379. </repositories>
  380. <distributionManagement>
  381. <repository>
  382. <id>releases</id>
  383. <name>Nexus Release Repository</name>
  384. <url>http://nexus.hsweb.me/content/repositories/releases/</url>
  385. </repository>
  386. <snapshotRepository>
  387. <id>snapshots</id>
  388. <name>Nexus Snapshot Repository</name>
  389. <url>http://nexus.hsweb.me/content/repositories/snapshots/</url>
  390. </snapshotRepository>
  391. </distributionManagement>
  392. <pluginRepositories>
  393. <pluginRepository>
  394. <id>aliyun-nexus</id>
  395. <name>aliyun</name>
  396. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  397. </pluginRepository>
  398. </pluginRepositories>
  399. </project>