pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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. </modules>
  41. <packaging>pom</packaging>
  42. <name>${project.groupId}:${project.artifactId}</name>
  43. <url>http://www.hswebframework.org</url>
  44. <description>企业后台管理基础框架</description>
  45. <licenses>
  46. <license>
  47. <name>The Apache License, Version 2.0</name>
  48. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  49. </license>
  50. </licenses>
  51. <developers>
  52. <developer>
  53. <name>zhouhao</name>
  54. <email>i@hsweb.me</email>
  55. <roles>
  56. <role>Owner</role>
  57. </roles>
  58. <timezone>+8</timezone>
  59. <url>https://github.com/zhou-hao</url>
  60. </developer>
  61. </developers>
  62. <scm>
  63. <connection>scm:git:https://github.com/hs-web/hsweb-framework.git</connection>
  64. <developerConnection>scm:git:https://github.com/hs-web/hsweb-framework.git</developerConnection>
  65. <url>https://github.com/hs-web/hsweb-framework</url>
  66. <tag>${project.version}</tag>
  67. </scm>
  68. <properties>
  69. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  70. <project.build.locales>zh_CN</project.build.locales>
  71. <java.version>1.8</java.version>
  72. <project.build.jdk>${java.version}</project.build.jdk>
  73. <spring.boot.version>1.4.5.RELEASE</spring.boot.version>
  74. <javassist.version>3.20.0-GA</javassist.version>
  75. <activiti.version>5.19.0.2</activiti.version>
  76. <fastjson.version>1.2.32</fastjson.version>
  77. <h2.version>1.4.191</h2.version>
  78. <mysql.version>5.1.39</mysql.version>
  79. <cglib.version>3.2.2</cglib.version>
  80. <aspectj.version>1.6.12</aspectj.version>
  81. <hibernate.validator.version>5.1.1.Final</hibernate.validator.version>
  82. <hsweb.ezorm.version>3.0.0-SNAPSHOT</hsweb.ezorm.version>
  83. <hsweb.utils.version>3.0.0-SNAPSHOT</hsweb.utils.version>
  84. <hsweb.expands.version>3.0.0-SNAPSHOT</hsweb.expands.version>
  85. <swagger.version>2.6.1</swagger.version>
  86. </properties>
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.apache.maven.plugins</groupId>
  91. <artifactId>maven-scm-plugin</artifactId>
  92. <version>1.8.1</version>
  93. <configuration>
  94. <connectionType>connection</connectionType>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <artifactId>maven-source-plugin</artifactId>
  99. <version>2.4</version>
  100. <configuration>
  101. <attach>true</attach>
  102. </configuration>
  103. <executions>
  104. <execution>
  105. <phase>compile</phase>
  106. <goals>
  107. <goal>jar</goal>
  108. </goals>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-javadoc-plugin</artifactId>
  115. <version>2.9.1</version>
  116. <configuration>
  117. <aggregate>true</aggregate>
  118. </configuration>
  119. <executions>
  120. <execution>
  121. <phase>deploy</phase>
  122. <goals>
  123. <goal>jar</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-compiler-plugin</artifactId>
  131. <version>3.1</version>
  132. <configuration>
  133. <source>${project.build.jdk}</source>
  134. <target>${project.build.jdk}</target>
  135. <encoding>${project.build.sourceEncoding}</encoding>
  136. </configuration>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-surefire-plugin</artifactId>
  141. <version>2.17</version>
  142. <configuration>
  143. <includes>
  144. <include>
  145. **/org/hswebframework/**/*Tests.java
  146. </include>
  147. </includes>
  148. </configuration>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. <dependencies>
  153. <dependency>
  154. <groupId>junit</groupId>
  155. <artifactId>junit</artifactId>
  156. <scope>test</scope>
  157. </dependency>
  158. <dependency>
  159. <groupId>ch.qos.logback</groupId>
  160. <artifactId>logback-classic</artifactId>
  161. <version>1.1.7</version>
  162. <scope>test</scope>
  163. </dependency>
  164. </dependencies>
  165. <dependencyManagement>
  166. <dependencies>
  167. <dependency>
  168. <groupId>junit</groupId>
  169. <artifactId>junit</artifactId>
  170. <version>4.12</version>
  171. <scope>test</scope>
  172. </dependency>
  173. <dependency>
  174. <groupId>com.alibaba</groupId>
  175. <artifactId>fastjson</artifactId>
  176. <version>${fastjson.version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>io.springfox</groupId>
  180. <artifactId>springfox-swagger2</artifactId>
  181. <version>${swagger.version}</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>io.springfox</groupId>
  185. <artifactId>springfox-swagger-ui</artifactId>
  186. <version>${swagger.version}</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>io.swagger</groupId>
  190. <artifactId>swagger-annotations</artifactId>
  191. <version>1.5.10</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.redisson</groupId>
  195. <artifactId>redisson</artifactId>
  196. <version>3.4.1</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>commons-beanutils</groupId>
  200. <artifactId>commons-beanutils</artifactId>
  201. <version>1.9.3</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.hswebframework</groupId>
  205. <artifactId>hsweb-utils</artifactId>
  206. <version>${hsweb.utils.version}</version>
  207. <exclusions>
  208. <exclusion>
  209. <groupId>com.alibaba</groupId>
  210. <artifactId>fastjson</artifactId>
  211. </exclusion>
  212. </exclusions>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.springframework.boot</groupId>
  216. <artifactId>spring-boot-dependencies</artifactId>
  217. <version>${spring.boot.version}</version>
  218. <type>pom</type>
  219. <scope>import</scope>
  220. </dependency>
  221. <dependency>
  222. <groupId>org.hswebframework</groupId>
  223. <artifactId>hsweb-expands</artifactId>
  224. <version>${hsweb.expands.version}</version>
  225. <type>pom</type>
  226. <scope>import</scope>
  227. <exclusions>
  228. <exclusion>
  229. <groupId>org.springframework</groupId>
  230. <artifactId>spring-expression</artifactId>
  231. </exclusion>
  232. <exclusion>
  233. <groupId>com.alibaba</groupId>
  234. <artifactId>fastjson</artifactId>
  235. </exclusion>
  236. </exclusions>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.hswebframework</groupId>
  240. <artifactId>hsweb-easy-orm</artifactId>
  241. <version>${hsweb.ezorm.version}</version>
  242. <exclusions>
  243. <exclusion>
  244. <groupId>com.alibaba</groupId>
  245. <artifactId>fastjson</artifactId>
  246. </exclusion>
  247. </exclusions>
  248. <type>pom</type>
  249. <scope>import</scope>
  250. </dependency>
  251. </dependencies>
  252. </dependencyManagement>
  253. <repositories>
  254. <repository>
  255. <id>hsweb-nexus</id>
  256. <name>Nexus Release Repository</name>
  257. <url>http://nexus.hsweb.me/content/groups/public/</url>
  258. <snapshots>
  259. <enabled>true</enabled>
  260. </snapshots>
  261. </repository>
  262. <repository>
  263. <id>aliyun-nexus</id>
  264. <name>aliyun</name>
  265. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  266. </repository>
  267. </repositories>
  268. <distributionManagement>
  269. <repository>
  270. <id>releases</id>
  271. <name>Nexus Release Repository</name>
  272. <url>http://nexus.hsweb.me/content/repositories/releases/</url>
  273. </repository>
  274. <snapshotRepository>
  275. <id>snapshots</id>
  276. <name>Nexus Snapshot Repository</name>
  277. <url>http://nexus.hsweb.me/content/repositories/snapshots/</url>
  278. </snapshotRepository>
  279. </distributionManagement>
  280. <pluginRepositories>
  281. <pluginRepository>
  282. <id>hsweb-nexus</id>
  283. <name>Nexus Release Repository</name>
  284. <url>http://nexus.hsweb.me/content/groups/public/</url>
  285. <snapshots>
  286. <enabled>true</enabled>
  287. </snapshots>
  288. </pluginRepository>
  289. <pluginRepository>
  290. <id>aliyun-nexus</id>
  291. <name>aliyun</name>
  292. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  293. </pluginRepository>
  294. </pluginRepositories>
  295. </project>