pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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. <parent>
  6. <artifactId>privatedomain-parent</artifactId>
  7. <groupId>com.shanpin</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>admin</artifactId>
  12. <packaging>jar</packaging>
  13. <name>admin</name>
  14. <version>1.0.0</version>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-validation</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.shanpin</groupId>
  27. <artifactId>core</artifactId>
  28. <version>${version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-security</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-websocket</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.github.pagehelper</groupId>
  44. <artifactId>pagehelper-spring-boot-starter</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>druid</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>commons-fileupload</groupId>
  52. <artifactId>commons-fileupload</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>mysql</groupId>
  56. <artifactId>mysql-connector-java</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-test</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>dom4j</groupId>
  64. <artifactId>dom4j</artifactId>
  65. <version>1.6.1</version>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <finalName>privatedomain-admin</finalName>
  70. <resources>
  71. <resource>
  72. <directory>src/main/java</directory>
  73. <includes>
  74. <include>**/*.xml</include>
  75. </includes>
  76. <filtering>true</filtering>
  77. </resource>
  78. <resource>
  79. <directory>src/main/resources</directory>
  80. <includes>
  81. <include>**/*.*</include>
  82. </includes>
  83. <filtering>true</filtering>
  84. </resource>
  85. </resources>
  86. <!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  87. <plugins>
  88. <plugin>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-maven-plugin</artifactId>
  91. <configuration>
  92. <includeSystemScope>true</includeSystemScope>
  93. </configuration>
  94. </plugin>
  95. <!-- 打包的时候跳过测试用例 -->
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-surefire-plugin</artifactId>
  99. <version>2.18.1</version>
  100. <configuration>
  101. <skipTests>true</skipTests>
  102. </configuration>
  103. </plugin>
  104. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  105. <plugin>
  106. <artifactId>maven-clean-plugin</artifactId>
  107. <version>3.1.0</version>
  108. </plugin>
  109. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  110. <plugin>
  111. <artifactId>maven-resources-plugin</artifactId>
  112. <version>3.0.2</version>
  113. </plugin>
  114. <plugin>
  115. <artifactId>maven-compiler-plugin</artifactId>
  116. <version>3.8.0</version>
  117. </plugin>
  118. <plugin>
  119. <artifactId>maven-surefire-plugin</artifactId>
  120. <version>2.22.1</version>
  121. </plugin>
  122. <plugin>
  123. <artifactId>maven-jar-plugin</artifactId>
  124. <version>3.0.2</version>
  125. </plugin>
  126. <plugin>
  127. <artifactId>maven-install-plugin</artifactId>
  128. <version>2.5.2</version>
  129. </plugin>
  130. <plugin>
  131. <artifactId>maven-deploy-plugin</artifactId>
  132. <version>2.8.2</version>
  133. </plugin>
  134. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  135. <plugin>
  136. <artifactId>maven-site-plugin</artifactId>
  137. <version>3.7.1</version>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-resources-plugin</artifactId>
  142. <configuration>
  143. <encoding>UTF-8</encoding>
  144. <!-- 过滤后缀为pem、pfx的证书文件 -->
  145. <nonFilteredFileExtensions>
  146. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  147. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  148. <nonFilteredFileExtension>p12</nonFilteredFileExtension>
  149. </nonFilteredFileExtensions>
  150. </configuration>
  151. </plugin>
  152. <plugin>
  153. <artifactId>maven-project-info-reports-plugin</artifactId>
  154. <version>3.0.0</version>
  155. </plugin>
  156. </plugins>
  157. </build>
  158. </project>