pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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>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 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. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-data-jpa</artifactId>
  40. </dependency>
  41. <!-- Joda Time -->
  42. <dependency>
  43. <groupId>joda-time</groupId>
  44. <artifactId>joda-time</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>commons-codec</groupId>
  48. <artifactId>commons-codec</artifactId>
  49. </dependency>
  50. <!-- Database Drivers -->
  51. <dependency>
  52. <groupId>mysql</groupId>
  53. <artifactId>mysql-connector-java</artifactId>
  54. </dependency>
  55. </dependencies>
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-maven-plugin</artifactId>
  61. </plugin>
  62. <!-- Code Quality Check -->
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-checkstyle-plugin</artifactId>
  66. <version>2.17</version>
  67. <!-- CheckStyle Default Version: 6.11.2 -->
  68. <dependencies>
  69. <dependency>
  70. <groupId>com.puppycrawl.tools</groupId>
  71. <artifactId>checkstyle</artifactId>
  72. <version>7.1.2</version>
  73. </dependency>
  74. </dependencies>
  75. <executions>
  76. <execution>
  77. <id>Validate</id>
  78. <phase>validate</phase>
  79. <goals>
  80. <goal>check</goal>
  81. </goals>
  82. <configuration>
  83. <encoding>UTF-8</encoding>
  84. <failsOnError>true</failsOnError>
  85. </configuration>
  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>