pom.xml 6.0 KB

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