pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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.0.4.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.chinaitop</groupId>
  12. <artifactId>depot-api</artifactId>
  13. <version>0.0.1</version>
  14. <name>depot-api</name>
  15. <packaging>jar</packaging>
  16. <description>DepotApi project for Spring Boot for depot service</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  21. <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.cloud</groupId>
  30. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.cloud</groupId>
  34. <artifactId>spring-cloud-starter-openfeign</artifactId>
  35. </dependency>
  36. <!-- utils -->
  37. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  38. <dependency>
  39. <groupId>com.alibaba</groupId>
  40. <artifactId>fastjson</artifactId>
  41. <version>1.2.75</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-test</artifactId>
  46. <scope>test</scope>
  47. <exclusions>
  48. <exclusion>
  49. <groupId>org.junit.vintage</groupId>
  50. <artifactId>junit-vintage-engine</artifactId>
  51. </exclusion>
  52. </exclusions>
  53. </dependency>
  54. <!--mysql-->
  55. <dependency>
  56. <groupId>mysql</groupId>
  57. <artifactId>mysql-connector-java</artifactId>
  58. </dependency>
  59. <!--代码生成-->
  60. <dependency>
  61. <groupId>com.baomidou</groupId>
  62. <artifactId>mybatis-plus-generator</artifactId>
  63. <version>3.2.0</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.velocity</groupId>
  67. <artifactId>velocity-engine-core</artifactId>
  68. <version>2.1</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.freemarker</groupId>
  72. <artifactId>freemarker</artifactId>
  73. <version>2.3.29</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.projectlombok</groupId>
  77. <artifactId>lombok</artifactId>
  78. <optional>true</optional>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.baomidou</groupId>
  86. <artifactId>mybatis-plus-boot-starter</artifactId>
  87. <version>3.2.0</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.ibeetl</groupId>
  91. <artifactId>beetl</artifactId>
  92. <version>3.0.13.RELEASE</version>
  93. </dependency>
  94. <!-- 日志-->
  95. <dependency>
  96. <groupId>ch.qos.logback</groupId>
  97. <artifactId>logback-classic</artifactId>
  98. </dependency>
  99. <!-- gbase依赖包 -->
  100. <dependency>
  101. <groupId>com.gbase8s</groupId>
  102. <artifactId>ifxjdbc</artifactId>
  103. <version>1.0</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.gbase</groupId>
  107. <artifactId>druid</artifactId>
  108. <version>1.0.28</version>
  109. </dependency>
  110. </dependencies>
  111. <!--deploy-->
  112. <distributionManagement>
  113. <repository>
  114. <id>nexus</id>
  115. <!--名称自己定义-->
  116. <name>release</name>
  117. <url>http://10.10.1.25:8760/repository/host_repository/</url>
  118. </repository>
  119. </distributionManagement>
  120. <dependencyManagement>
  121. <dependencies>
  122. <dependency>
  123. <groupId>org.springframework.cloud</groupId>
  124. <artifactId>spring-cloud-dependencies</artifactId>
  125. <version>${spring-cloud.version}</version>
  126. <type>pom</type>
  127. <scope>import</scope>
  128. </dependency>
  129. </dependencies>
  130. </dependencyManagement>
  131. <build>
  132. <!--定义编译,打包,部署的项目名称-->
  133. <finalName>${project.artifactId}</finalName>
  134. <plugins>
  135. <plugin>
  136. <groupId>org.springframework.boot</groupId>
  137. <artifactId>spring-boot-maven-plugin</artifactId>
  138. </plugin>
  139. <!--跳过测试代码的编译-->
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-surefire-plugin</artifactId>
  143. <configuration>
  144. <skip>true</skip>
  145. </configuration>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. <!--使用Spring稳定版本-->
  150. <repositories>
  151. <repository>
  152. <id>spring-milestones</id>
  153. <name>Spring Milestones</name>
  154. <url>https://repo.spring.io/milestone</url>
  155. <!--不下载snapshots快照版-->
  156. <snapshots>
  157. <enabled>false</enabled>
  158. </snapshots>
  159. </repository>
  160. </repositories>
  161. </project>