pom.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507
  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.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-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.5.7</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.74</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.12</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. </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. </dependency>
  252. <dependency>
  253. <groupId>org.springframework.boot</groupId>
  254. <artifactId>spring-boot-configuration-processor</artifactId>
  255. <scope>provided</scope>
  256. </dependency>
  257. <dependency>
  258. <groupId>org.codehaus.groovy</groupId>
  259. <artifactId>groovy-all</artifactId>
  260. <version>2.4.15</version>
  261. <type>pom</type>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.projectlombok</groupId>
  265. <artifactId>lombok</artifactId>
  266. <scope>provided</scope>
  267. </dependency>
  268. <dependency>
  269. <groupId>junit</groupId>
  270. <artifactId>junit</artifactId>
  271. <scope>test</scope>
  272. </dependency>
  273. <dependency>
  274. <groupId>ch.qos.logback</groupId>
  275. <artifactId>logback-classic</artifactId>
  276. <scope>test</scope>
  277. </dependency>
  278. <dependency>
  279. <groupId>io.projectreactor</groupId>
  280. <artifactId>reactor-test</artifactId>
  281. <scope>test</scope>
  282. </dependency>
  283. </dependencies>
  284. <dependencyManagement>
  285. <dependencies>
  286. <!-- <dependency>-->
  287. <!-- <groupId>org.springframework.data</groupId>-->
  288. <!-- <artifactId>spring-data-r2dbc</artifactId>-->
  289. <!-- <version>1.1.3.RELEASE</version>-->
  290. <!-- <scope>compile</scope>-->
  291. <!-- </dependency>-->
  292. <!-- <dependency>-->
  293. <!-- <groupId>org.springframework.boot</groupId>-->
  294. <!-- <artifactId>spring-boot-starter-data-r2dbc</artifactId>-->
  295. <!-- <version>2.3.3.RELEASE</version>-->
  296. <!-- </dependency>-->
  297. <dependency>
  298. <groupId>io.r2dbc</groupId>
  299. <artifactId>r2dbc-bom</artifactId>
  300. <version>${r2dbc.version}</version>
  301. <type>pom</type>
  302. <scope>import</scope>
  303. </dependency>
  304. <dependency>
  305. <groupId>org.hibernate.javax.persistence</groupId>
  306. <artifactId>hibernate-jpa-2.1-api</artifactId>
  307. <version>1.0.2.Final</version>
  308. </dependency>
  309. <dependency>
  310. <groupId>com.google.guava</groupId>
  311. <artifactId>guava</artifactId>
  312. <version>30.1.1-jre</version>
  313. </dependency>
  314. <dependency>
  315. <groupId>io.vavr</groupId>
  316. <artifactId>vavr</artifactId>
  317. <version>0.9.2</version>
  318. </dependency>
  319. <dependency>
  320. <groupId>org.projectlombok</groupId>
  321. <artifactId>lombok</artifactId>
  322. <version>1.16.22</version>
  323. </dependency>
  324. <dependency>
  325. <groupId>org.jooq</groupId>
  326. <artifactId>jool-java-8</artifactId>
  327. <version>0.9.13</version>
  328. </dependency>
  329. <dependency>
  330. <groupId>junit</groupId>
  331. <artifactId>junit</artifactId>
  332. <version>4.13.1</version>
  333. <scope>test</scope>
  334. </dependency>
  335. <dependency>
  336. <groupId>com.h2database</groupId>
  337. <artifactId>h2</artifactId>
  338. <version>${h2.version}</version>
  339. </dependency>
  340. <dependency>
  341. <groupId>com.alibaba</groupId>
  342. <artifactId>fastjson</artifactId>
  343. <version>${fastjson.version}</version>
  344. </dependency>
  345. <dependency>
  346. <groupId>io.swagger</groupId>
  347. <artifactId>swagger-annotations</artifactId>
  348. <version>1.5.10</version>
  349. </dependency>
  350. <dependency>
  351. <groupId>io.swagger.core.v3</groupId>
  352. <artifactId>swagger-annotations</artifactId>
  353. <version>2.1.4</version>
  354. </dependency>
  355. <dependency>
  356. <groupId>commons-beanutils</groupId>
  357. <artifactId>commons-beanutils</artifactId>
  358. <version>1.9.4</version>
  359. </dependency>
  360. <dependency>
  361. <groupId>org.springframework.boot</groupId>
  362. <artifactId>spring-boot-dependencies</artifactId>
  363. <version>${spring.boot.version}</version>
  364. <type>pom</type>
  365. <scope>import</scope>
  366. </dependency>
  367. <dependency>
  368. <groupId>org.hswebframework</groupId>
  369. <artifactId>hsweb-easy-orm-rdb</artifactId>
  370. <version>${hsweb.ezorm.version}</version>
  371. </dependency>
  372. <dependency>
  373. <groupId>org.hswebframework</groupId>
  374. <artifactId>hsweb-easy-orm-core</artifactId>
  375. <version>${hsweb.ezorm.version}</version>
  376. </dependency>
  377. <dependency>
  378. <groupId>org.hswebframework</groupId>
  379. <artifactId>hsweb-easy-orm-elasticsearch</artifactId>
  380. <version>${hsweb.ezorm.version}</version>
  381. </dependency>
  382. <dependency>
  383. <groupId>org.hswebframework</groupId>
  384. <artifactId>hsweb-expands</artifactId>
  385. <version>${hsweb.expands.version}</version>
  386. <type>pom</type>
  387. <scope>import</scope>
  388. <exclusions>
  389. <exclusion>
  390. <groupId>org.springframework</groupId>
  391. <artifactId>spring-expression</artifactId>
  392. </exclusion>
  393. <exclusion>
  394. <groupId>com.alibaba</groupId>
  395. <artifactId>fastjson</artifactId>
  396. </exclusion>
  397. </exclusions>
  398. </dependency>
  399. <dependency>
  400. <groupId>org.hswebframework</groupId>
  401. <artifactId>hsweb-utils</artifactId>
  402. <version>${hsweb.utils.version}</version>
  403. <exclusions>
  404. <exclusion>
  405. <groupId>com.alibaba</groupId>
  406. <artifactId>fastjson</artifactId>
  407. </exclusion>
  408. </exclusions>
  409. </dependency>
  410. </dependencies>
  411. </dependencyManagement>
  412. <repositories>
  413. <repository>
  414. <id>hsweb-nexus</id>
  415. <name>Nexus Release Repository</name>
  416. <url>https://nexus.hsweb.me/content/groups/public/</url>
  417. <snapshots>
  418. <enabled>true</enabled>
  419. <updatePolicy>
  420. always
  421. </updatePolicy>
  422. </snapshots>
  423. </repository>
  424. <repository>
  425. <id>aliyun-nexus</id>
  426. <name>aliyun</name>
  427. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  428. </repository>
  429. <repository>
  430. <id>spring.io</id>
  431. <name>spring</name>
  432. <url>https://repo.spring.io/milestone</url>
  433. </repository>
  434. </repositories>
  435. <distributionManagement>
  436. <repository>
  437. <id>releases</id>
  438. <name>Nexus Release Repository</name>
  439. <url>https://nexus.hsweb.me/content/repositories/releases/</url>
  440. </repository>
  441. <snapshotRepository>
  442. <id>snapshots</id>
  443. <name>Nexus Snapshot Repository</name>
  444. <url>https://nexus.hsweb.me/content/repositories/snapshots/</url>
  445. </snapshotRepository>
  446. </distributionManagement>
  447. <pluginRepositories>
  448. <pluginRepository>
  449. <id>aliyun-nexus</id>
  450. <name>aliyun</name>
  451. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  452. </pluginRepository>
  453. </pluginRepositories>
  454. </project>