pom.xml 5.6 KB

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