pom.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  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.15</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>https://github.com/hs-web</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>https://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.3.12.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.83</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.1.0-SNAPSHOT</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-SR10</r2dbc.version>
  84. <spring-framework.version>5.2.22.RELEASE</spring-framework.version>
  85. </properties>
  86. <profiles>
  87. <profile>
  88. <id>release</id>
  89. <build>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.sonatype.plugins</groupId>
  93. <artifactId>nexus-staging-maven-plugin</artifactId>
  94. <version>1.6.3</version>
  95. <extensions>true</extensions>
  96. <configuration>
  97. <serverId>sonatype-releases</serverId>
  98. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  99. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  100. <stagingProgressTimeoutMinutes>120</stagingProgressTimeoutMinutes>
  101. </configuration>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-release-plugin</artifactId>
  106. <configuration>
  107. <autoVersionSubmodules>true</autoVersionSubmodules>
  108. <useReleaseProfile>false</useReleaseProfile>
  109. <releaseProfiles>release</releaseProfiles>
  110. <goals>deploy</goals>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-gpg-plugin</artifactId>
  116. <version>1.5</version>
  117. <executions>
  118. <execution>
  119. <id>sign-artifacts</id>
  120. <phase>verify</phase>
  121. <goals>
  122. <goal>sign</goal>
  123. </goals>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-javadoc-plugin</artifactId>
  130. <version>2.9.1</version>
  131. <configuration>
  132. <additionalparam>-Xdoclint:none</additionalparam>
  133. </configuration>
  134. <executions>
  135. <execution>
  136. <id>attach-javadocs</id>
  137. <goals>
  138. <goal>jar</goal>
  139. </goals>
  140. </execution>
  141. </executions>
  142. </plugin>
  143. </plugins>
  144. </build>
  145. <distributionManagement>
  146. <repository>
  147. <id>sonatype-releases</id>
  148. <name>sonatype repository</name>
  149. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
  150. </repository>
  151. <snapshotRepository>
  152. <id>sonatype-snapshots</id>
  153. <name>Nexus Snapshot Repository</name>
  154. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  155. </snapshotRepository>
  156. </distributionManagement>
  157. </profile>
  158. </profiles>
  159. <build>
  160. <plugins>
  161. <plugin>
  162. <groupId>org.jacoco</groupId>
  163. <artifactId>jacoco-maven-plugin</artifactId>
  164. <version>0.8.8</version>
  165. <executions>
  166. <execution>
  167. <goals>
  168. <goal>prepare-agent</goal>
  169. </goals>
  170. </execution>
  171. <execution>
  172. <id>report</id>
  173. <phase>test</phase>
  174. <goals>
  175. <goal>report</goal>
  176. </goals>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-scm-plugin</artifactId>
  183. <version>1.8.1</version>
  184. <configuration>
  185. <connectionType>connection</connectionType>
  186. </configuration>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-source-plugin</artifactId>
  191. <version>2.4</version>
  192. <executions>
  193. <execution>
  194. <id>attach-sources</id>
  195. <goals>
  196. <goal>jar-no-fork</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-compiler-plugin</artifactId>
  204. <version>3.10.1</version>
  205. <configuration>
  206. <source>${project.build.jdk}</source>
  207. <target>${project.build.jdk}</target>
  208. <encoding>${project.build.sourceEncoding}</encoding>
  209. </configuration>
  210. </plugin>
  211. <plugin>
  212. <groupId>org.codehaus.gmavenplus</groupId>
  213. <artifactId>gmavenplus-plugin</artifactId>
  214. <version>1.6.1</version>
  215. <executions>
  216. <execution>
  217. <goals>
  218. <goal>addTestSources</goal>
  219. <goal>compile</goal>
  220. <goal>compileTests</goal>
  221. </goals>
  222. </execution>
  223. </executions>
  224. <dependencies>
  225. <dependency>
  226. <groupId>org.codehaus.groovy</groupId>
  227. <artifactId>groovy-all</artifactId>
  228. <version>2.4.15</version>
  229. </dependency>
  230. </dependencies>
  231. </plugin>
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-surefire-plugin</artifactId>
  235. <version>2.17</version>
  236. <configuration>
  237. <includes>
  238. <include>**/*Test.java</include>
  239. <include>**/*Test.groovy</include>
  240. <include>**/*Tests.java</include>
  241. <include>**/*Test.groovy</include>
  242. <include>**/*Spec.java</include>
  243. </includes>
  244. </configuration>
  245. </plugin>
  246. </plugins>
  247. </build>
  248. <dependencies>
  249. <dependency>
  250. <groupId>org.springframework</groupId>
  251. <artifactId>spring-context-indexer</artifactId>
  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. <scope>test</scope>
  278. </dependency>
  279. <dependency>
  280. <groupId>io.projectreactor</groupId>
  281. <artifactId>reactor-test</artifactId>
  282. <scope>test</scope>
  283. </dependency>
  284. </dependencies>
  285. <dependencyManagement>
  286. <dependencies>
  287. <!-- <dependency>-->
  288. <!-- <groupId>org.springframework.data</groupId>-->
  289. <!-- <artifactId>spring-data-r2dbc</artifactId>-->
  290. <!-- <version>1.1.3.RELEASE</version>-->
  291. <!-- <scope>compile</scope>-->
  292. <!-- </dependency>-->
  293. <!-- <dependency>-->
  294. <!-- <groupId>org.springframework.boot</groupId>-->
  295. <!-- <artifactId>spring-boot-starter-data-r2dbc</artifactId>-->
  296. <!-- <version>2.3.3.RELEASE</version>-->
  297. <!-- </dependency>-->
  298. <dependency>
  299. <groupId>com.google.code.findbugs</groupId>
  300. <artifactId>jsr305</artifactId>
  301. <version>3.0.2</version>
  302. </dependency>
  303. <dependency>
  304. <groupId>io.r2dbc</groupId>
  305. <artifactId>r2dbc-bom</artifactId>
  306. <version>${r2dbc.version}</version>
  307. <type>pom</type>
  308. <scope>import</scope>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.hibernate.javax.persistence</groupId>
  312. <artifactId>hibernate-jpa-2.1-api</artifactId>
  313. <version>1.0.2.Final</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>com.google.guava</groupId>
  317. <artifactId>guava</artifactId>
  318. <version>30.1.1-jre</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>io.vavr</groupId>
  322. <artifactId>vavr</artifactId>
  323. <version>0.9.2</version>
  324. </dependency>
  325. <dependency>
  326. <groupId>org.projectlombok</groupId>
  327. <artifactId>lombok</artifactId>
  328. <version>1.16.22</version>
  329. </dependency>
  330. <dependency>
  331. <groupId>org.jooq</groupId>
  332. <artifactId>jool-java-8</artifactId>
  333. <version>0.9.13</version>
  334. </dependency>
  335. <dependency>
  336. <groupId>junit</groupId>
  337. <artifactId>junit</artifactId>
  338. <version>4.13.1</version>
  339. <scope>test</scope>
  340. </dependency>
  341. <dependency>
  342. <groupId>com.h2database</groupId>
  343. <artifactId>h2</artifactId>
  344. <version>${h2.version}</version>
  345. </dependency>
  346. <dependency>
  347. <groupId>com.alibaba</groupId>
  348. <artifactId>fastjson</artifactId>
  349. <version>${fastjson.version}</version>
  350. </dependency>
  351. <dependency>
  352. <groupId>io.swagger</groupId>
  353. <artifactId>swagger-annotations</artifactId>
  354. <version>1.5.10</version>
  355. </dependency>
  356. <dependency>
  357. <groupId>io.swagger.core.v3</groupId>
  358. <artifactId>swagger-annotations</artifactId>
  359. <version>2.1.4</version>
  360. </dependency>
  361. <dependency>
  362. <groupId>commons-beanutils</groupId>
  363. <artifactId>commons-beanutils</artifactId>
  364. <version>1.9.4</version>
  365. </dependency>
  366. <dependency>
  367. <groupId>org.springframework</groupId>
  368. <artifactId>spring-framework-bom</artifactId>
  369. <version>${spring-framework.version}</version>
  370. <type>pom</type>
  371. <scope>import</scope>
  372. </dependency>
  373. <dependency>
  374. <groupId>org.springframework.boot</groupId>
  375. <artifactId>spring-boot-dependencies</artifactId>
  376. <version>${spring.boot.version}</version>
  377. <type>pom</type>
  378. <scope>import</scope>
  379. </dependency>
  380. <dependency>
  381. <groupId>org.hswebframework</groupId>
  382. <artifactId>hsweb-easy-orm-rdb</artifactId>
  383. <version>${hsweb.ezorm.version}</version>
  384. </dependency>
  385. <dependency>
  386. <groupId>org.hswebframework</groupId>
  387. <artifactId>hsweb-easy-orm-core</artifactId>
  388. <version>${hsweb.ezorm.version}</version>
  389. </dependency>
  390. <dependency>
  391. <groupId>org.hswebframework</groupId>
  392. <artifactId>hsweb-easy-orm-elasticsearch</artifactId>
  393. <version>${hsweb.ezorm.version}</version>
  394. </dependency>
  395. <dependency>
  396. <groupId>org.hswebframework</groupId>
  397. <artifactId>hsweb-expands</artifactId>
  398. <version>${hsweb.expands.version}</version>
  399. <type>pom</type>
  400. <scope>import</scope>
  401. <exclusions>
  402. <exclusion>
  403. <groupId>org.springframework</groupId>
  404. <artifactId>spring-expression</artifactId>
  405. </exclusion>
  406. <exclusion>
  407. <groupId>com.alibaba</groupId>
  408. <artifactId>fastjson</artifactId>
  409. </exclusion>
  410. </exclusions>
  411. </dependency>
  412. <dependency>
  413. <groupId>org.hswebframework</groupId>
  414. <artifactId>hsweb-utils</artifactId>
  415. <version>${hsweb.utils.version}</version>
  416. <exclusions>
  417. <exclusion>
  418. <groupId>com.alibaba</groupId>
  419. <artifactId>fastjson</artifactId>
  420. </exclusion>
  421. </exclusions>
  422. </dependency>
  423. </dependencies>
  424. </dependencyManagement>
  425. <repositories>
  426. <repository>
  427. <id>hsweb-nexus</id>
  428. <name>Nexus Release Repository</name>
  429. <url>https://nexus.hsweb.me/content/groups/public/</url>
  430. <snapshots>
  431. <enabled>true</enabled>
  432. <updatePolicy>
  433. always
  434. </updatePolicy>
  435. </snapshots>
  436. </repository>
  437. <repository>
  438. <id>aliyun-nexus</id>
  439. <name>aliyun</name>
  440. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  441. </repository>
  442. <repository>
  443. <id>spring.io</id>
  444. <name>spring</name>
  445. <url>https://repo.spring.io/milestone</url>
  446. </repository>
  447. </repositories>
  448. <distributionManagement>
  449. <repository>
  450. <id>releases</id>
  451. <name>Nexus Release Repository</name>
  452. <url>https://nexus.hsweb.me/content/repositories/releases/</url>
  453. </repository>
  454. <snapshotRepository>
  455. <id>snapshots</id>
  456. <name>Nexus Snapshot Repository</name>
  457. <url>https://nexus.hsweb.me/content/repositories/snapshots/</url>
  458. </snapshotRepository>
  459. </distributionManagement>
  460. <pluginRepositories>
  461. <pluginRepository>
  462. <id>aliyun-nexus</id>
  463. <name>aliyun</name>
  464. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  465. </pluginRepository>
  466. </pluginRepositories>
  467. </project>