pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. <artifactId>warehouse-common</artifactId>
  7. <packaging>jar</packaging>
  8. <parent>
  9. <artifactId>warehouse</artifactId>
  10. <groupId>com.uas.platform.warehouse</groupId>
  11. <version>0.1.2-SNAPSHOT</version>
  12. </parent>
  13. <dependencies>
  14. <!-- Jackson -->
  15. <dependency>
  16. <groupId>com.fasterxml.jackson.core</groupId>
  17. <artifactId>jackson-databind</artifactId>
  18. </dependency>
  19. <!-- Spring Boot logging -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-logging</artifactId>
  23. </dependency>
  24. </dependencies>
  25. <build>
  26. <plugins>
  27. <!-- Code Quality Check -->
  28. <plugin>
  29. <groupId>org.apache.maven.plugins</groupId>
  30. <artifactId>maven-checkstyle-plugin</artifactId>
  31. <version>2.17</version>
  32. <!-- CheckStyle Default Version: 6.11.2 -->
  33. <dependencies>
  34. <dependency>
  35. <groupId>com.puppycrawl.tools</groupId>
  36. <artifactId>checkstyle</artifactId>
  37. <version>7.1.2</version>
  38. </dependency>
  39. </dependencies>
  40. <executions>
  41. <execution>
  42. <id>Validate</id>
  43. <phase>validate</phase>
  44. <goals>
  45. <goal>check</goal>
  46. </goals>
  47. <configuration>
  48. <encoding>UTF-8</encoding>
  49. <failsOnError>true</failsOnError>
  50. </configuration>
  51. </execution>
  52. </executions>
  53. </plugin>
  54. <plugin>
  55. <groupId>org.apache.maven.plugins</groupId>
  56. <artifactId>maven-source-plugin</artifactId>
  57. <version>3.0.1</version>
  58. <executions>
  59. <execution>
  60. <id>AttachSources</id>
  61. <phase>package</phase>
  62. <goals>
  63. <goal>jar-no-fork</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-javadoc-plugin</artifactId>
  71. <version>2.10.4</version>
  72. <configuration>
  73. <show>private</show>
  74. <nohelp>true</nohelp>
  75. <aggregate>true</aggregate>
  76. <encoding>UTF-8</encoding>
  77. <docencoding>UTF-8</docencoding>
  78. </configuration>
  79. <executions>
  80. <execution>
  81. <id>AttachDoc</id>
  82. <phase>package</phase>
  83. <goals>
  84. <goal>jar</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. <distributionManagement>
  92. <!-- 发布release仓库 -->
  93. <repository>
  94. <id>platform-release</id>
  95. <name>platform-release</name>
  96. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  97. </repository>
  98. <!-- 发布快照版本 -->
  99. <snapshotRepository>
  100. <id>platform-snapshots</id>
  101. <name>platform-snapshots</name>
  102. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  103. </snapshotRepository>
  104. </distributionManagement>
  105. </project>