pom.xml 5.5 KB

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