pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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-backend-app</artifactId>
  7. <packaging>war</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 Lib -->
  15. <dependency>
  16. <groupId>com.uas.platform.warehouse</groupId>
  17. <artifactId>warehouse-common</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.uas.platform.warehouse</groupId>
  21. <artifactId>warehouse-transport</artifactId>
  22. </dependency>
  23. <!-- Apache Commons -->
  24. <dependency>
  25. <groupId>org.apache.commons</groupId>
  26. <artifactId>commons-lang3</artifactId>
  27. </dependency>
  28. <!-- Spring Boot -->
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. <!-- 移除嵌入式tomcat插件 -->
  33. <exclusions>
  34. <exclusion>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-tomcat</artifactId>
  37. </exclusion>
  38. </exclusions>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-data-jpa</artifactId>
  47. </dependency>
  48. <!-- Joda Time -->
  49. <dependency>
  50. <groupId>joda-time</groupId>
  51. <artifactId>joda-time</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>commons-codec</groupId>
  55. <artifactId>commons-codec</artifactId>
  56. </dependency>
  57. <!-- Database Drivers -->
  58. <dependency>
  59. <groupId>mysql</groupId>
  60. <artifactId>mysql-connector-java</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>javax.servlet</groupId>
  64. <artifactId>javax.servlet-api</artifactId>
  65. <version>3.1.0</version>
  66. <scope>provided</scope>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <!-- <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. </plugin>-->
  75. <!-- Code Quality Check -->
  76. <plugin>
  77. <groupId>org.apache.maven.plugins</groupId>
  78. <artifactId>maven-checkstyle-plugin</artifactId>
  79. <version>2.17</version>
  80. <!-- CheckStyle Default Version: 6.11.2 -->
  81. <dependencies>
  82. <dependency>
  83. <groupId>com.puppycrawl.tools</groupId>
  84. <artifactId>checkstyle</artifactId>
  85. <version>7.1.2</version>
  86. </dependency>
  87. </dependencies>
  88. <executions>
  89. <execution>
  90. <id>Validate</id>
  91. <phase>validate</phase>
  92. <goals>
  93. <goal>check</goal>
  94. </goals>
  95. <configuration>
  96. <encoding>UTF-8</encoding>
  97. <failsOnError>true</failsOnError>
  98. </configuration>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-compiler-plugin</artifactId>
  105. <configuration>
  106. <source>1.8</source>
  107. <target>1.8</target>
  108. </configuration>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. <distributionManagement>
  113. <!-- 发布release仓库 -->
  114. <repository>
  115. <id>platform-release</id>
  116. <name>platform-release</name>
  117. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  118. </repository>
  119. <!-- 发布快照版本 -->
  120. <snapshotRepository>
  121. <id>platform-snapshots</id>
  122. <name>platform-snapshots</name>
  123. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  124. </snapshotRepository>
  125. </distributionManagement>
  126. </project>