pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. <mybatis.version>2.1.4</mybatis.version>
  31. <swagger.version>2.9.2</swagger.version>
  32. <swagger-boot.version>1.9.0.RELEASE</swagger-boot.version>
  33. <fastjson.version>1.2.83</fastjson.version>
  34. <commons-io.version>1.3.2</commons-io.version>
  35. <dynamic-datasource.version>3.5.1</dynamic-datasource.version>
  36. <minio.version>6.0.11</minio.version>
  37. <logstash.version>7.0.1</logstash.version>
  38. <java-jwt.version>3.4.0</java-jwt.version>
  39. <Dm8JdbcDriver18.version>8.1.1.49</Dm8JdbcDriver18.version>
  40. <jna.version>1.0-SNAPSHOT</jna.version>
  41. <dom4j.version>1.0-SNAPSHOT</dom4j.version>
  42. </properties>
  43. <dependencies>
  44. <!-- aams 金蝶 have to exclude spring-boot-starter-web tomcat's starter -->
  45. <dependency>
  46. <groupId>com.apusic</groupId>
  47. <artifactId>aams-spring-boot-starter</artifactId>
  48. <version>2.1.7.RELEASE</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-web</artifactId>
  53. <!-- exclude tomcat's starter -->
  54. <exclusions>
  55. <exclusion>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-tomcat</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-test</artifactId>
  64. <scope>test</scope>
  65. </dependency>
  66. </dependencies>
  67. <!-- springCloud version -->
  68. <dependencyManagement>
  69. <dependencies>
  70. <dependency>
  71. <groupId>org.springframework.cloud</groupId>
  72. <artifactId>spring-cloud-dependencies</artifactId>
  73. <version>${spring-cloud.version}</version>
  74. <type>pom</type>
  75. <scope>import</scope>
  76. </dependency>
  77. </dependencies>
  78. </dependencyManagement>
  79. <build>
  80. <plugins>
  81. <plugin>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-maven-plugin</artifactId>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. <!-- 有些依赖可能下载不到,用这个地址试下 -->
  88. <repositories>
  89. <repository>
  90. <id>spring-snapshots</id>
  91. <name>Spring Snapshots</name>
  92. <url>https://repo.spring.io/snapshot</url>
  93. <snapshots>
  94. <enabled>false</enabled>
  95. </snapshots>
  96. </repository>
  97. <repository>
  98. <id>spring-milestones</id>
  99. <name>Spring Milestones</name>
  100. <url>https://repo.spring.io/milestone</url>
  101. <snapshots>
  102. <enabled>false</enabled>
  103. </snapshots>
  104. </repository>
  105. </repositories>
  106. </project>