pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.rongwei</groupId>
  7. <artifactId>safe-produce</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <modules>
  10. <module>cx-question</module>
  11. <module>rw-training</module>
  12. <module>cx-safe-check</module>
  13. <module>bs-common</module>
  14. </modules>
  15. <parent>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-parent</artifactId>
  18. <version>2.1.2.RELEASE</version>
  19. </parent>
  20. <properties>
  21. <!--<docker.image.prefix>ag</docker.image.prefix>-->
  22. <!--<docker.plugin.version>0.4.13</docker.plugin.version>-->
  23. <mapper.version>3.4.0</mapper.version>
  24. <maven.compile.source>1.8</maven.compile.source>
  25. <maven.compile.target>1.8</maven.compile.target>
  26. <fastjson.version>1.2.31</fastjson.version>
  27. <!--<boot.admin.client>2.1.2</boot.admin.client>-->
  28. </properties>
  29. <packaging>pom</packaging>
  30. <dependencies>
  31. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  32. <dependency>
  33. <groupId>org.projectlombok</groupId>
  34. <artifactId>lombok</artifactId>
  35. <version>1.16.14</version>
  36. <scope>provided</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.alibaba</groupId>
  40. <artifactId>fastjson</artifactId>
  41. <version>${fastjson.version}</version>
  42. </dependency>
  43. </dependencies>
  44. <repositories>
  45. <repository>
  46. <id>oss</id>
  47. <name>oss</name>
  48. <url>https://oss.sonatype.org/content/groups/public</url>
  49. </repository>
  50. <repository>
  51. <id>spring-milestones</id>
  52. <name>Spring Milestones</name>
  53. <url>https://repo.spring.io/libs-milestone</url>
  54. <snapshots>
  55. <enabled>false</enabled>
  56. </snapshots>
  57. </repository>
  58. <repository>
  59. <id>sonatype-nexus-snapshots</id>
  60. <name>Sonatype Nexus Snapshots</name>
  61. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  62. </repository>
  63. </repositories>
  64. <!--依赖管理,用于管理spring-cloud的依赖,其中Camden.SR3是版本号-->
  65. <dependencyManagement>
  66. <dependencies>
  67. <dependency>
  68. <groupId>org.springframework.cloud</groupId>
  69. <artifactId>spring-cloud-dependencies</artifactId>
  70. <version>Greenwich.RELEASE</version>
  71. <type>pom</type>
  72. <scope>import</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.alibaba</groupId>
  76. <artifactId>fastjson</artifactId>
  77. <version>1.2.33</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.cloud</groupId>
  81. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  82. <version>0.2.1.RELEASE</version>
  83. <type>pom</type>
  84. <scope>import</scope>
  85. </dependency>
  86. </dependencies>
  87. </dependencyManagement>
  88. <distributionManagement>
  89. <snapshotRepository>
  90. <id>ossrh</id>
  91. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  92. </snapshotRepository>
  93. <repository>
  94. <id>ossrh</id>
  95. <name>Maven Central Staging Repository</name>
  96. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  97. </repository>
  98. </distributionManagement>
  99. <build>
  100. <plugins>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-compiler-plugin</artifactId>
  104. <version>${maven-compiler-plugin.version}</version>
  105. <configuration>
  106. <source>${maven.compile.source}</source>
  107. <target>${maven.compile.target}</target>
  108. <encoding>${project.build.sourceEncoding}</encoding>
  109. </configuration>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-source-plugin</artifactId>
  114. <version>2.4</version>
  115. <executions>
  116. <execution>
  117. <id>attach-sources</id>
  118. <goals>
  119. <goal>jar-no-fork</goal>
  120. </goals>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-deploy-plugin</artifactId>
  127. <version>2.8.2</version>
  128. </plugin>
  129. <!--<plugin>-->
  130. <!--<groupId>org.apache.maven.plugins</groupId>-->
  131. <!--<artifactId>maven-javadoc-plugin</artifactId>-->
  132. <!--<version>2.10.3</version>-->
  133. <!--<executions>-->
  134. <!--<execution>-->
  135. <!--<id>attach-javadocs</id>-->
  136. <!--<goals>-->
  137. <!--<goal>jar</goal>-->
  138. <!--</goals>-->
  139. <!--</execution>-->
  140. <!--</executions>-->
  141. <!--</plugin>-->
  142. </plugins>
  143. </build>
  144. </project>