pom.xml 3.9 KB

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