pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. <parent>
  6. <artifactId>gw-cloud-platform-dcproj</artifactId>
  7. <groupId>cn.com.goldenwater</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>gw-cloud-platform-dcproj-basetools</artifactId>
  12. <packaging>jar</packaging>
  13. <dependencyManagement>
  14. <dependencies>
  15. <!-- 覆盖父POM中错误的log4j坐标,强制使用1.2.17版本 -->
  16. <dependency>
  17. <groupId>log4j</groupId>
  18. <artifactId>log4j</artifactId>
  19. <version>1.2.17</version>
  20. </dependency>
  21. </dependencies>
  22. </dependencyManagement>
  23. <dependencies>
  24. <dependency>
  25. <groupId>net.sf.json-lib</groupId>
  26. <artifactId>json-lib</artifactId>
  27. <version>2.4</version>
  28. <classifier>jdk15</classifier>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.apache.httpcomponents</groupId>
  32. <artifactId>httpclient</artifactId>
  33. <version>4.5.6</version>
  34. </dependency>
  35. <!-- Commons Lang for string utils -->
  36. <dependency>
  37. <groupId>org.apache.commons</groupId>
  38. <artifactId>commons-lang3</artifactId>
  39. <version>3.8.1</version>
  40. </dependency>
  41. <!-- https://mvnrepository.com/artifact/com.auth0/java-jwt -->
  42. <dependency>
  43. <groupId>com.auth0</groupId>
  44. <artifactId>java-jwt</artifactId>
  45. <version>3.3.0</version>
  46. </dependency>
  47. <!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt -->
  48. <dependency>
  49. <groupId>io.jsonwebtoken</groupId>
  50. <artifactId>jjwt</artifactId>
  51. <version>0.9.1</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>javax.servlet</groupId>
  55. <artifactId>javax.servlet-api</artifactId>
  56. <version>4.0.0</version>
  57. <scope>compile</scope>
  58. <!-- 打war包时 使用下面的配置 -->
  59. <!-- <scope>provided</scope>-->
  60. </dependency>
  61. <dependency>
  62. <groupId>cn.com.goldenwater</groupId>
  63. <artifactId>gw-cloud-core</artifactId>
  64. <version>0.0.1-SNAPSHOT</version>
  65. <exclusions>
  66. <exclusion>
  67. <artifactId>slf4j-log4j12</artifactId>
  68. <groupId>org.slf4j</groupId>
  69. </exclusion>
  70. <exclusion>
  71. <artifactId>logback-classic</artifactId>
  72. <groupId>ch.qos.logback</groupId>
  73. </exclusion>
  74. <exclusion>
  75. <artifactId>logback-core</artifactId>
  76. <groupId>ch.qos.logback</groupId>
  77. </exclusion>
  78. <exclusion>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-logging</artifactId>
  81. </exclusion>
  82. <exclusion>
  83. <groupId>log4j</groupId>
  84. <artifactId>log4j</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.github.oshi</groupId>
  90. <artifactId>oshi-core</artifactId>
  91. <version>5.8.2</version>
  92. <scope>compile</scope>
  93. </dependency>
  94. <!-- POI for Excel and Word processing -->
  95. <dependency>
  96. <groupId>org.apache.poi</groupId>
  97. <artifactId>poi</artifactId>
  98. <version>4.1.2</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.poi</groupId>
  102. <artifactId>poi-ooxml</artifactId>
  103. <version>4.1.2</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.poi</groupId>
  107. <artifactId>poi-ooxml-schemas</artifactId>
  108. <version>4.1.2</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.apache.poi</groupId>
  112. <artifactId>ooxml-schemas</artifactId>
  113. <version>1.4</version>
  114. </dependency>
  115. <!-- XMLBeans for POI -->
  116. <dependency>
  117. <groupId>org.apache.xmlbeans</groupId>
  118. <artifactId>xmlbeans</artifactId>
  119. <version>3.1.0</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.poi</groupId>
  123. <artifactId>poi-scratchpad</artifactId>
  124. <version>4.1.2</version>
  125. </dependency>
  126. </dependencies>
  127. <build>
  128. <plugins>
  129. <plugin>
  130. <groupId>org.apache.maven.plugins</groupId>
  131. <artifactId>maven-compiler-plugin</artifactId>
  132. <configuration>
  133. <source>1.8</source>
  134. <target>1.8</target>
  135. </configuration>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>