pom.xml 5.6 KB

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