pom.xml 5.6 KB

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