pom.xml 18 KB

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