pom.xml 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.12.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.unitssoft</groupId>
  12. <artifactId>smart-grp-nof-pom</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>smart-grp-nof-pom</name>
  15. <packaging>pom</packaging>
  16. <description>parent pom of version</description>
  17. <properties>
  18. <!-- encoding -->
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  22. <!-- cloud version -->
  23. <spring-cloud.version>Hoxton.SR12</spring-cloud.version>
  24. <!-- jdk -->
  25. <java.version>1.8</java.version>
  26. <!-- skip test -->
  27. <skipTests>true</skipTests>
  28. <!-- dependencies version control -->
  29. <mybatisPlus.version>3.4.1</mybatisPlus.version>
  30. <swagger.version>2.9.2</swagger.version>
  31. <fastjson.version>1.2.83</fastjson.version>
  32. </properties>
  33. <dependencies>
  34. <!-- aams 金蝶 have to exclude spring-boot-starter-web tomcat's starter -->
  35. <dependency>
  36. <groupId>com.apusic</groupId>
  37. <artifactId>aams-spring-boot-starter</artifactId>
  38. <version>2.1.7.RELEASE</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. <!-- exclude tomcat's starter -->
  44. <exclusions>
  45. <exclusion>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-tomcat</artifactId>
  48. </exclusion>
  49. </exclusions>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-test</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. </dependencies>
  57. <!-- springCloud version -->
  58. <dependencyManagement>
  59. <dependencies>
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-dependencies</artifactId>
  63. <version>${spring-cloud.version}</version>
  64. <type>pom</type>
  65. <scope>import</scope>
  66. </dependency>
  67. </dependencies>
  68. </dependencyManagement>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. </plugin>
  75. </plugins>
  76. </build>
  77. <!-- 有些依赖可能下载不到,用这个地址试下 -->
  78. <repositories>
  79. <repository>
  80. <id>spring-snapshots</id>
  81. <name>Spring Snapshots</name>
  82. <url>https://repo.spring.io/snapshot</url>
  83. <snapshots>
  84. <enabled>false</enabled>
  85. </snapshots>
  86. </repository>
  87. <repository>
  88. <id>spring-milestones</id>
  89. <name>Spring Milestones</name>
  90. <url>https://repo.spring.io/milestone</url>
  91. <snapshots>
  92. <enabled>false</enabled>
  93. </snapshots>
  94. </repository>
  95. </repositories>
  96. </project>