pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. <groupId>com.yihu.hos</groupId>
  7. <artifactId>hos-core</artifactId>
  8. <version>1.1.1-SNAPSHOT</version>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  12. <java.version>1.8</java.version>
  13. <log4j.version>1.2.17</log4j.version>
  14. <log4j2.version>2.4.1</log4j2.version>
  15. <slf4j.version>1.7.21</slf4j.version>
  16. </properties>
  17. <pluginRepositories>
  18. <pluginRepository>
  19. <id>pluginCentral</id>
  20. <name>pluginCentral</name>
  21. <url>http://172.19.103.47:8081/nexus/content/repositories/central/</url>
  22. </pluginRepository>
  23. <pluginRepository>
  24. <id>pluginReleases</id>
  25. <name>pluginReleases</name>
  26. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  27. </pluginRepository>
  28. </pluginRepositories>
  29. <!--用于发布到服务器 对应setting的对应server表情里面的id -->
  30. <distributionManagement>
  31. <repository>
  32. <id>Releases</id>
  33. <name>Releases</name>
  34. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  35. </repository>
  36. <snapshotRepository>
  37. <id>snapshots</id>
  38. <name>Snapshots</name>
  39. <url>http://172.19.103.47:8081/nexus/content/repositories/snapshots/</url>
  40. </snapshotRepository>
  41. </distributionManagement>
  42. <repositories>
  43. <repository>
  44. <id>repositoryCentral</id>
  45. <name>repositoryCentral</name>
  46. <url>http://172.19.103.47:8081/nexus/content/repositories/central/</url>
  47. </repository>
  48. <repository>
  49. <id>repositoryReleases</id>
  50. <name>repositoryReleases</name>
  51. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  52. </repository>
  53. </repositories>
  54. <dependencies>
  55. <!--zip start-->
  56. <dependency>
  57. <groupId>net.lingala.zip4j</groupId>
  58. <artifactId>zip4j</artifactId>
  59. <version>1.3.2</version>
  60. </dependency>
  61. <!--zip end-->
  62. <!--commons start-->
  63. <dependency>
  64. <groupId>org.apache.commons</groupId>
  65. <artifactId>commons-collections4</artifactId>
  66. <version>4.0</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>commons-fileupload</groupId>
  70. <artifactId>commons-fileupload</artifactId>
  71. <version>1.3.1</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.commons</groupId>
  75. <artifactId>commons-lang3</artifactId>
  76. <version>3.3.2</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>commons-net</groupId>
  80. <artifactId>commons-net</artifactId>
  81. <version>3.3</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>commons-beanutils</groupId>
  85. <artifactId>commons-beanutils</artifactId>
  86. <version>1.9.2</version>
  87. </dependency>
  88. <!--commons end-->
  89. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  90. <dependency>
  91. <groupId>com.squareup.okhttp3</groupId>
  92. <artifactId>okhttp</artifactId>
  93. <version>3.4.1</version>
  94. </dependency>
  95. <!--pinyin4j start-->
  96. <dependency>
  97. <groupId>com.belerweb</groupId>
  98. <artifactId>pinyin4j</artifactId>
  99. <version>2.5.0</version>
  100. </dependency>
  101. <!--pinyin4j end-->
  102. <!--jackson start-->
  103. <dependency>
  104. <groupId>com.fasterxml.jackson.core</groupId>
  105. <artifactId>jackson-core</artifactId>
  106. <version>2.4.6</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.fasterxml.jackson.core</groupId>
  110. <artifactId>jackson-databind</artifactId>
  111. <version>2.4.6</version>
  112. </dependency>
  113. <!--jackson end-->
  114. <!-- Log framework start-->
  115. <dependency>
  116. <groupId>log4j</groupId>
  117. <artifactId>log4j</artifactId>
  118. <version>${log4j.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.logging.log4j</groupId>
  122. <artifactId>log4j-api</artifactId>
  123. <version>${log4j2.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.apache.logging.log4j</groupId>
  127. <artifactId>log4j-core</artifactId>
  128. <version>${log4j2.version}</version>
  129. </dependency>
  130. <!--SLF4J api-->
  131. <dependency>
  132. <groupId>org.slf4j</groupId>
  133. <artifactId>slf4j-api</artifactId>
  134. <version>${slf4j.version}</version>
  135. </dependency>
  136. </dependencies>
  137. <build>
  138. <plugins>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-compiler-plugin</artifactId>
  142. <version>3.5.1</version>
  143. <configuration>
  144. <source>${java.version}</source>
  145. <target>${java.version}</target>
  146. </configuration>
  147. </plugin>
  148. </plugins>
  149. </build>
  150. </project>