2.0重构版本
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

133 rader
4.2 KiB

  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. <groupId>cc.smtweb</groupId>
  6. <artifactId>sw-framework-auth</artifactId>
  7. <version>2.2.0-SNAPSHOT</version>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>2.5.6</version>
  12. <relativePath/> <!-- lookup parent from repository -->
  13. </parent>
  14. <modelVersion>4.0.0</modelVersion>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>cc.smtweb</groupId>
  22. <artifactId>sw-framework-core</artifactId>
  23. <version>2.2.0-SNAPSHOT</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-test</artifactId>
  28. <scope>test</scope>
  29. </dependency>
  30. <!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher -->
  31. <dependency>
  32. <groupId>org.junit.platform</groupId>
  33. <artifactId>junit-platform-launcher</artifactId>
  34. <version>1.6.2</version>
  35. <scope>test</scope>
  36. </dependency>
  37. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
  38. <dependency>
  39. <groupId>org.junit.jupiter</groupId>
  40. <artifactId>junit-jupiter-api</artifactId>
  41. <version>5.6.2</version>
  42. <scope>test</scope>
  43. </dependency>
  44. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
  45. <dependency>
  46. <groupId>org.junit.jupiter</groupId>
  47. <artifactId>junit-jupiter-engine</artifactId>
  48. <version>5.6.2</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.junit.vintage</groupId>
  53. <artifactId>junit-vintage-engine</artifactId>
  54. <version>5.6.2</version>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.junit.jupiter</groupId>
  59. <artifactId>junit-jupiter-params</artifactId>
  60. <version>5.6.2</version>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework</groupId>
  65. <artifactId>spring-test</artifactId>
  66. <version>5.2.7.RELEASE</version>
  67. <scope>test</scope>
  68. </dependency>
  69. <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
  70. <dependency>
  71. <groupId>org.mockito</groupId>
  72. <artifactId>mockito-all</artifactId>
  73. <version>1.10.19</version>
  74. <scope>test</scope>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <!-- <finalName>user</finalName>-->
  79. <plugins>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-source-plugin</artifactId>
  83. <executions>
  84. <execution>
  85. <id>attach-sources</id>
  86. <phase>verify</phase>
  87. <goals>
  88. <goal>jar-no-fork</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. <!-- 用于生成jar包的plugin -->
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-jar-plugin</artifactId>
  97. <version>2.6</version>
  98. <configuration>
  99. <excludes>
  100. <exclude>config/*.yaml</exclude>
  101. </excludes>
  102. </configuration>
  103. </plugin>
  104. </plugins>
  105. <!-- <resources>-->
  106. <!-- <resource>-->
  107. <!-- <filtering>true</filtering>-->
  108. <!-- <directory>src/main/resources</directory>-->
  109. <!-- <excludes>-->
  110. <!-- <exclude>config/*.yaml</exclude>-->
  111. <!-- </excludes>-->
  112. <!-- </resource>-->
  113. <!-- </resources>-->
  114. </build>
  115. <distributionManagement>
  116. <repository>
  117. <id>nexus-releases</id>
  118. <name>Nexus Release Repository</name>
  119. <url>http://47.92.149.153:7000/repository/maven-releases/</url>
  120. </repository>
  121. <snapshotRepository>
  122. <id>nexus-snapshots</id>
  123. <name>Nexus Snapshot Repository</name>
  124. <url>http://47.92.149.153:7000/repository/maven-snapshots/</url>
  125. </snapshotRepository>
  126. </distributionManagement>
  127. </project>