pom.xml 5.8 KB

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