pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.anji-plus.sp</groupId>
  8. <artifactId>sp-parent</artifactId>
  9. <version>1.0.0</version>
  10. </parent>
  11. <artifactId>sp-app</artifactId>
  12. <name>sp-app</name>
  13. <packaging>jar</packaging>
  14. <description>Demo project for Spring Boot</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.anji-plus.sp</groupId>
  18. <artifactId>sp-version</artifactId>
  19. <version>1.0.0</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.anji-plus.sp</groupId>
  23. <artifactId>sp-notice</artifactId>
  24. <version>1.0.0</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.anji-plus.sp</groupId>
  28. <artifactId>sp-push</artifactId>
  29. <version>1.0.0</version>
  30. </dependency>
  31. <!-- 本地加载 -->
  32. <dependency>
  33. <groupId>com.vivo.push.sdk</groupId>
  34. <artifactId>vpush-server-sdk</artifactId>
  35. <version>2.2</version>
  36. <scope>system</scope>
  37. <systemPath>${pom.basedir}/src/main/resources/libs/vpush-server-sdk-2.2.jar
  38. </systemPath>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.oppo.push.sdk</groupId>
  42. <artifactId>opush-server-sdk</artifactId>
  43. <version>1.0.6</version>
  44. <scope>system</scope>
  45. <systemPath>${pom.basedir}/src/main/resources/libs/opush-server-sdk-1.0.6.jar
  46. </systemPath>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.xiaomi.xmpush</groupId>
  50. <artifactId>MiPush_SDK_Server_Http</artifactId>
  51. <version>2_1.0.9</version>
  52. <scope>system</scope>
  53. <systemPath>${pom.basedir}/src/main/resources/libs/MiPush_SDK_Server_Http2_1.0.9.jar
  54. </systemPath>
  55. </dependency>
  56. </dependencies>
  57. <developers>
  58. <developer>
  59. <name>develop.anji-plus.com</name>
  60. <email>MS@anji-plus.com</email>
  61. <url>https://github.com/anji-plus</url>
  62. </developer>
  63. </developers>
  64. <profiles>
  65. <profile>
  66. <id>dev</id>
  67. <properties>
  68. <spring.profiles.active>dev</spring.profiles.active>
  69. </properties>
  70. <activation>
  71. <activeByDefault>true</activeByDefault>
  72. </activation>
  73. </profile>
  74. </profiles>
  75. <build>
  76. <resources>
  77. <resource>
  78. <directory>src/main/resources</directory>
  79. <filtering>true</filtering>
  80. </resource>
  81. </resources>
  82. <plugins>
  83. <plugin>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-maven-plugin</artifactId>
  86. <executions>
  87. <execution>
  88. <goals>
  89. <goal>repackage</goal>
  90. </goals>
  91. </execution>
  92. </executions>
  93. <configuration>
  94. <includeSystemScope>true</includeSystemScope>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-resources-plugin</artifactId>
  100. <configuration>
  101. <encoding>UTF-8</encoding>
  102. <nonFilteredFileExtensions>
  103. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  104. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  105. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  106. </nonFilteredFileExtensions>
  107. </configuration>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-assembly-plugin</artifactId>
  112. <version>3.3.0</version>
  113. <configuration>
  114. <encoding>UTF-8</encoding>
  115. <descriptors>
  116. <descriptor>src/main/assembly/assembly.xml</descriptor>
  117. </descriptors>
  118. </configuration>
  119. <executions>
  120. <execution>
  121. <id>make-assembly</id>
  122. <phase>package</phase>
  123. <goals>
  124. <goal>single</goal>
  125. </goals>
  126. </execution>
  127. </executions>
  128. </plugin>
  129. <!-- 跳过单元测试 -->
  130. <plugin>
  131. <groupId>org.apache.maven.plugins</groupId>
  132. <artifactId>maven-surefire-plugin</artifactId>
  133. <configuration>
  134. <skipTests>true</skipTests>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>