pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-security</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.sp</groupId>
  34. <artifactId>blind-date-core</artifactId>
  35. <version>1.0.0</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-websocket</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.github.pagehelper</groupId>
  43. <artifactId>pagehelper-spring-boot-starter</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>druid</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>commons-fileupload</groupId>
  51. <artifactId>commons-fileupload</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>mysql</groupId>
  55. <artifactId>mysql-connector-java</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-test</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>junit</groupId>
  63. <artifactId>junit</artifactId>
  64. <version>4.11</version>
  65. <scope>test</scope>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <finalName>blinddate-admin-server</finalName>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. <configuration>
  75. <includeSystemScope>true</includeSystemScope>
  76. </configuration>
  77. </plugin>
  78. <!-- 打包的时候跳过测试用例 -->
  79. <plugin>
  80. <groupId>org.apache.maven.plugins</groupId>
  81. <artifactId>maven-surefire-plugin</artifactId>
  82. <version>2.18.1</version>
  83. <configuration>
  84. <skipTests>true</skipTests>
  85. </configuration>
  86. </plugin>
  87. </plugins>
  88. <resources>
  89. <resource>
  90. <directory>src/main/java</directory>
  91. <includes>
  92. <include>**/*.xml</include>
  93. </includes>
  94. <filtering>true</filtering>
  95. </resource>
  96. <resource>
  97. <directory>src/main/resources</directory>
  98. <includes>
  99. <include>**/*.*</include>
  100. </includes>
  101. <filtering>true</filtering>
  102. </resource>
  103. </resources>
  104. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  105. <plugins>
  106. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  107. <plugin>
  108. <artifactId>maven-clean-plugin</artifactId>
  109. <version>3.1.0</version>
  110. </plugin>
  111. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  112. <plugin>
  113. <artifactId>maven-resources-plugin</artifactId>
  114. <version>3.0.2</version>
  115. </plugin>
  116. <plugin>
  117. <artifactId>maven-compiler-plugin</artifactId>
  118. <version>3.8.0</version>
  119. </plugin>
  120. <plugin>
  121. <artifactId>maven-surefire-plugin</artifactId>
  122. <version>2.22.1</version>
  123. </plugin>
  124. <plugin>
  125. <artifactId>maven-jar-plugin</artifactId>
  126. <version>3.0.2</version>
  127. </plugin>
  128. <plugin>
  129. <artifactId>maven-install-plugin</artifactId>
  130. <version>2.5.2</version>
  131. </plugin>
  132. <plugin>
  133. <artifactId>maven-deploy-plugin</artifactId>
  134. <version>2.8.2</version>
  135. </plugin>
  136. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  137. <plugin>
  138. <artifactId>maven-site-plugin</artifactId>
  139. <version>3.7.1</version>
  140. </plugin>
  141. <plugin>
  142. <artifactId>maven-project-info-reports-plugin</artifactId>
  143. <version>3.0.0</version>
  144. </plugin>
  145. </plugins>
  146. </pluginManagement>
  147. </build>
  148. </project>