pom.xml 5.4 KB

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