pom.xml 4.9 KB

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