pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <version>b.2.5-SNAPSHOT</version>
  7. <groupId>com.github.zuihou</groupId>
  8. <artifactId>imcs-admin-boot</artifactId>
  9. <name>${project.artifactId}</name>
  10. <description>zuihou-admin-boot</description>
  11. <packaging>pom</packaging>
  12. <licenses>
  13. <license>
  14. <name>Apache 2</name>
  15. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  16. <distribution>repo</distribution>
  17. <comments>A business-friendly OSS license</comments>
  18. </license>
  19. </licenses>
  20. <!-- 多环境配置 -->
  21. <profiles>
  22. <profile>
  23. <id>dev</id>
  24. <!-- 环境标识,需要与配置文件的名称相对应 -->
  25. <properties>
  26. <profiles.active>dev</profiles.active>
  27. </properties>
  28. <!-- 默认环境 -->
  29. <activation>
  30. <activeByDefault>true</activeByDefault>
  31. </activation>
  32. </profile>
  33. <profile>
  34. <id>prod</id>
  35. <properties>
  36. <profiles.active>prod</profiles.active>
  37. </properties>
  38. </profile>
  39. <profile>
  40. <id>docker</id>
  41. <properties>
  42. <profiles.active>docker</profiles.active>
  43. </properties>
  44. </profile>
  45. <profile>
  46. <id>test</id>
  47. <properties>
  48. <profiles.active>test</profiles.active>
  49. </properties>
  50. </profile>
  51. </profiles>
  52. <modules>
  53. <module>imcs-common</module>
  54. <module>imcs-authority-entity</module>
  55. <module>imcs-msgs-entity</module>
  56. <module>imcs-file-entity</module>
  57. <module>imcs-authority-biz</module>
  58. <module>imcs-authority-controller</module>
  59. <module>imcs-file-biz</module>
  60. <module>imcs-file-controller</module>
  61. <module>imcs-msgs-biz</module>
  62. <module>imcs-msgs-controller</module>
  63. <module>imcs-sms-biz</module>
  64. <module>imcs-sms-controller</module>
  65. <module>imcs-oauth-biz</module>
  66. <module>imcs-oauth-controller</module>
  67. <module>imcs-tenant-entity</module>
  68. <module>imcs-tenant-biz</module>
  69. <module>imcs-tenant-controller</module>
  70. <module>imcs-authority-server</module>
  71. <module>imcs-jobs</module>
  72. <module>imcs-business-biz</module>
  73. <module>imcs-business-entity</module>
  74. <module>imcs-business-controller</module>
  75. <module>imcs-wms-biz</module>
  76. <module>imcs-wms-controller</module>
  77. <module>imcs-wms-entity</module>
  78. </modules>
  79. <properties>
  80. <imcs-commons.version>2.5.0</imcs-commons.version>
  81. <imcs-project.version>b.2.5-SNAPSHOT</imcs-project.version>
  82. <java.version>1.8</java.version>
  83. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  84. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  85. <docker.image.prefix>zuihou</docker.image.prefix>
  86. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  87. <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
  88. <maven-javadoc-plugin.version>3.0.0</maven-javadoc-plugin.version>
  89. <dockerfile-maven-plugin.version>1.4.12</dockerfile-maven-plugin.version>
  90. <spring-boot-maven-plugin.version>2.2.9.RELEASE</spring-boot-maven-plugin.version>
  91. </properties>
  92. <dependencyManagement>
  93. <dependencies>
  94. <dependency>
  95. <groupId>com.github.zuihou</groupId>
  96. <artifactId>zuihou-dependencies</artifactId>
  97. <version>${imcs-commons.version}</version>
  98. <type>pom</type>
  99. <scope>import</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.github.zuihou</groupId>
  103. <artifactId>zuihou-boot</artifactId>
  104. <version>${imcs-commons.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.github.zuihou</groupId>
  108. <artifactId>zuihou-cache-starter</artifactId>
  109. <version>${imcs-commons.version}</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.github.zuihou</groupId>
  113. <artifactId>zuihou-core</artifactId>
  114. <version>${imcs-commons.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.github.zuihou</groupId>
  118. <artifactId>zuihou-databases</artifactId>
  119. <version>${imcs-commons.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.github.zuihou</groupId>
  123. <artifactId>zuihou-dozer-starter</artifactId>
  124. <version>${imcs-commons.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.github.zuihou</groupId>
  128. <artifactId>zuihou-injection-starter</artifactId>
  129. <version>${imcs-commons.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>com.github.zuihou</groupId>
  133. <artifactId>zuihou-j2cache-starter</artifactId>
  134. <version>${imcs-commons.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>com.github.zuihou</groupId>
  138. <artifactId>zuihou-jwt-starter</artifactId>
  139. <version>${imcs-commons.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.github.zuihou</groupId>
  143. <artifactId>zuihou-log-starter</artifactId>
  144. <version>${imcs-commons.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.github.zuihou</groupId>
  148. <artifactId>zuihou-mq-starter</artifactId>
  149. <version>${imcs-commons.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.github.zuihou</groupId>
  153. <artifactId>zuihou-swagger2-starter</artifactId>
  154. <version>${imcs-commons.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>com.github.zuihou</groupId>
  158. <artifactId>zuihou-security-starter</artifactId>
  159. <version>${imcs-commons.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>com.github.zuihou</groupId>
  163. <artifactId>zuihou-validator-starter</artifactId>
  164. <version>${imcs-commons.version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.github.zuihou</groupId>
  168. <artifactId>zuihou-xss-starter</artifactId>
  169. <version>${imcs-commons.version}</version>
  170. </dependency>
  171. </dependencies>
  172. </dependencyManagement>
  173. <dependencies>
  174. <!--Lombok-->
  175. <dependency>
  176. <groupId>org.projectlombok</groupId>
  177. <artifactId>lombok</artifactId>
  178. <scope>provided</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.slf4j</groupId>
  182. <artifactId>slf4j-api</artifactId>
  183. <scope>compile</scope>
  184. </dependency>
  185. <dependency>
  186. <groupId>cn.hutool</groupId>
  187. <artifactId>hutool-all</artifactId>
  188. </dependency>
  189. <dependency>
  190. <groupId>com.alibaba</groupId>
  191. <artifactId>fastjson</artifactId>
  192. </dependency>
  193. <dependency>
  194. <groupId>com.google.guava</groupId>
  195. <artifactId>guava</artifactId>
  196. </dependency>
  197. </dependencies>
  198. <build>
  199. <finalName>${project.artifactId}</finalName>
  200. <resources>
  201. <resource>
  202. <directory>src/main/java</directory>
  203. <includes>
  204. <include>**/*.xml</include>
  205. </includes>
  206. <filtering>true</filtering>
  207. </resource>
  208. <resource>
  209. <directory>src/main/resources</directory>
  210. <includes>
  211. <include>**/*</include>
  212. </includes>
  213. <filtering>true</filtering>
  214. </resource>
  215. </resources>
  216. <pluginManagement>
  217. <plugins>
  218. <plugin>
  219. <groupId>org.apache.maven.plugins</groupId>
  220. <artifactId>maven-compiler-plugin</artifactId>
  221. <version>${maven-compiler-plugin.version}</version>
  222. <configuration>
  223. <source>${java.version}</source>
  224. <target>${java.version}</target>
  225. <encoding>${project.build.sourceEncoding}</encoding>
  226. </configuration>
  227. </plugin>
  228. <!-- resources资源插件 -->
  229. <plugin>
  230. <groupId>org.apache.maven.plugins</groupId>
  231. <artifactId>maven-resources-plugin</artifactId>
  232. <version>${maven-resources-plugin.version}</version>
  233. <configuration>
  234. <delimiters>
  235. <delimiter>@</delimiter>
  236. </delimiters>
  237. <useDefaultDelimiters>false</useDefaultDelimiters>
  238. <encoding>UTF-8</encoding>
  239. <!-- 后缀为pem、pfx的证书文件 -->
  240. <nonFilteredFileExtensions>
  241. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  242. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  243. <nonFilteredFileExtension>p12</nonFilteredFileExtension>
  244. <nonFilteredFileExtension>key</nonFilteredFileExtension>
  245. <nonFilteredFileExtension>db</nonFilteredFileExtension>
  246. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  247. <nonFilteredFileExtension>otf</nonFilteredFileExtension>
  248. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  249. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  250. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  251. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  252. </nonFilteredFileExtensions>
  253. </configuration>
  254. </plugin>
  255. <!-- java文档插件 -->
  256. <plugin>
  257. <groupId>org.apache.maven.plugins</groupId>
  258. <artifactId>maven-javadoc-plugin</artifactId>
  259. <version>${maven-javadoc-plugin.version}</version>
  260. </plugin>
  261. <plugin>
  262. <groupId>org.springframework.boot</groupId>
  263. <artifactId>spring-boot-maven-plugin</artifactId>
  264. <version>${spring-boot-maven-plugin.version}</version>
  265. <executions>
  266. <execution>
  267. <goals>
  268. <goal>repackage</goal>
  269. </goals>
  270. </execution>
  271. </executions>
  272. </plugin>
  273. </plugins>
  274. </pluginManagement>
  275. </build>
  276. </project>