pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.ym.mec</groupId>
  5. <artifactId>collect_fee</artifactId>
  6. <version>1.0</version>
  7. <packaging>jar</packaging>
  8. <name>collect_fee</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <maven.compiler.source>1.8</maven.compiler.source>
  14. <maven.compiler.target>1.8</maven.compiler.target>
  15. </properties>
  16. <dependencyManagement>
  17. <dependencies>
  18. <!--支持Spring Boot 2.1.X -->
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-dependencies</artifactId>
  22. <version>2.1.4.RELEASE</version>
  23. <type>pom</type>
  24. <scope>import</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.mybatis.spring.boot</groupId>
  28. <artifactId>mybatis-spring-boot-starter</artifactId>
  29. <version>1.3.2</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.alibaba</groupId>
  33. <artifactId>druid-spring-boot-starter</artifactId>
  34. <version>1.1.10</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>commons-beanutils</groupId>
  38. <artifactId>commons-beanutils</artifactId>
  39. <version>1.9.2</version>
  40. </dependency>
  41. </dependencies>
  42. </dependencyManagement>
  43. <repositories>
  44. <repository>
  45. <id>spring-milestones</id>
  46. <name>Spring Milestones</name>
  47. <url>https://repo.spring.io/libs-milestone</url>
  48. <snapshots>
  49. <enabled>false</enabled>
  50. </snapshots>
  51. </repository>
  52. <repository>
  53. <id>sonatype-nexus-snapshots</id>
  54. <name>Sonatype Nexus Snapshots</name>
  55. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  56. <snapshots>
  57. <enabled>true</enabled>
  58. </snapshots>
  59. <releases>
  60. <enabled>false</enabled>
  61. </releases>
  62. </repository>
  63. </repositories>
  64. <pluginRepositories>
  65. <pluginRepository>
  66. <id>repository.spring.release</id>
  67. <name>Spring GA Repository</name>
  68. <url>https://repo.spring.io/plugins-release/</url>
  69. </pluginRepository>
  70. <pluginRepository>
  71. <id>jcenter-snapshots</id>
  72. <name>jcenter</name>
  73. <url>http://oss.jfrog.org/artifactory/oss-snapshot-local/</url>
  74. </pluginRepository>
  75. <pluginRepository>
  76. <id>jcenter-releases</id>
  77. <name>jcenter</name>
  78. <url>http://jcenter.bintray.com</url>
  79. <snapshots>
  80. <enabled>false</enabled>
  81. </snapshots>
  82. </pluginRepository>
  83. </pluginRepositories>
  84. <dependencies>
  85. <!-- SpringBoot整合Web组件 -->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-web</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.mybatis.spring.boot</groupId>
  92. <artifactId>mybatis-spring-boot-starter</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.alibaba</groupId>
  96. <artifactId>druid-spring-boot-starter</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>mysql</groupId>
  100. <artifactId>mysql-connector-java</artifactId>
  101. <exclusions>
  102. <exclusion>
  103. <artifactId>protobuf-java</artifactId>
  104. <groupId>com.google.protobuf</groupId>
  105. </exclusion>
  106. </exclusions>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.commons</groupId>
  110. <artifactId>commons-lang3</artifactId>
  111. </dependency>
  112. </dependencies>
  113. <build>
  114. <plugins>
  115. <plugin>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-maven-plugin</artifactId>
  118. <version>2.1.4.RELEASE</version>
  119. <executions>
  120. <execution>
  121. <goals>
  122. <goal>build-info</goal>
  123. <goal>repackage</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </project>