2.0重构版本
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

79 rindas
2.3 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-web</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-auth</artifactId>
  23. <version>2.2.0-SNAPSHOT</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>cc.smtweb</groupId>
  27. <artifactId>sw-framework-file</artifactId>
  28. <version>2.2.0-SNAPSHOT</version>
  29. </dependency>
  30. </dependencies>
  31. <build>
  32. <!-- <finalName>user</finalName>-->
  33. <plugins>
  34. <plugin>
  35. <groupId>org.apache.maven.plugins</groupId>
  36. <artifactId>maven-source-plugin</artifactId>
  37. <executions>
  38. <execution>
  39. <id>attach-sources</id>
  40. <phase>verify</phase>
  41. <goals>
  42. <goal>jar-no-fork</goal>
  43. </goals>
  44. </execution>
  45. </executions>
  46. </plugin>
  47. <!-- 用于生成jar包的plugin -->
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-jar-plugin</artifactId>
  51. <version>2.6</version>
  52. <configuration>
  53. <excludes>
  54. <exclude>config/*.yaml</exclude>
  55. </excludes>
  56. </configuration>
  57. </plugin>
  58. </plugins>
  59. </build>
  60. <distributionManagement>
  61. <repository>
  62. <id>nexus-releases</id>
  63. <name>Nexus Release Repository</name>
  64. <url>http://47.92.149.153:7000/repository/maven-releases/</url>
  65. </repository>
  66. <snapshotRepository>
  67. <id>nexus-snapshots</id>
  68. <name>Nexus Snapshot Repository</name>
  69. <url>http://47.92.149.153:7000/repository/maven-snapshots/</url>
  70. </snapshotRepository>
  71. </distributionManagement>
  72. </project>