pom.xml 3.8 KB

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