pom.xml 16 KB

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