pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.platform</groupId>
  6. <artifactId>platform-office</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>platform-office</name>
  9. <!-- FIXME change it to the project's website -->
  10. <url>http://www.example.com</url>
  11. <properties>
  12. <sub.version>2.1.4</sub.version>
  13. <poi.version>3.9</poi.version>
  14. <xerces.version>2.9.1</xerces.version>
  15. <guava.version>16.0.1</guava.version>
  16. <commons-lang.version>3.2.1</commons-lang.version>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. <lombok.version>1.18.6</lombok.version>
  20. <slf4j.version>1.7.26</slf4j.version>
  21. <servlet.version>4.0.1</servlet.version>
  22. </properties>
  23. <dependencies>
  24. <!--Lombok-->
  25. <dependency>
  26. <groupId>org.projectlombok</groupId>
  27. <artifactId>lombok</artifactId>
  28. <version>${lombok.version}</version>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.slf4j</groupId>
  33. <artifactId>jcl-over-slf4j</artifactId>
  34. <version>${slf4j.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>javax.servlet</groupId>
  38. <artifactId>javax.servlet-api</artifactId>
  39. <version>${servlet.version}</version>
  40. </dependency>
  41. <!--常用库依赖 -->
  42. <dependency>
  43. <groupId>com.google.guava</groupId>
  44. <artifactId>guava</artifactId>
  45. <version>23.0</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.google.code.gson</groupId>
  49. <artifactId>gson</artifactId>
  50. <version>2.8.2</version>
  51. </dependency>
  52. <!-- poi -->
  53. <dependency>
  54. <groupId>org.apache.poi</groupId>
  55. <artifactId>poi</artifactId>
  56. <version>${poi.version}</version>
  57. <exclusions>
  58. <exclusion>
  59. <artifactId>commons-codec</artifactId>
  60. <groupId>commons-codec</groupId>
  61. </exclusion>
  62. </exclusions>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.poi</groupId>
  66. <artifactId>poi-ooxml</artifactId>
  67. <version>${poi.version}</version>
  68. <exclusions>
  69. <exclusion>
  70. <artifactId>xml-apis</artifactId>
  71. <groupId>xml-apis</groupId>
  72. </exclusion>
  73. <exclusion>
  74. <artifactId>poi-ooxml-schemas</artifactId>
  75. <groupId>org.apache.poi</groupId>
  76. </exclusion>
  77. <exclusion>
  78. <artifactId>poi</artifactId>
  79. <groupId>org.apache.poi</groupId>
  80. </exclusion>
  81. <exclusion>
  82. <artifactId>dom4j</artifactId>
  83. <groupId>dom4j</groupId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.dom4j</groupId>
  89. <artifactId>dom4j</artifactId>
  90. <version>2.0.0</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.poi</groupId>
  94. <artifactId>poi-ooxml-schemas</artifactId>
  95. <version>${poi.version}</version>
  96. <exclusions>
  97. <exclusion>
  98. <artifactId>xmlbeans</artifactId>
  99. <groupId>org.apache.xmlbeans</groupId>
  100. </exclusion>
  101. </exclusions>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.xmlbeans</groupId>
  105. <artifactId>xmlbeans</artifactId>
  106. <version>2.6.0</version>
  107. </dependency>
  108. <!-- sax 读取时候用到的 -->
  109. <dependency>
  110. <groupId>xerces</groupId>
  111. <artifactId>xercesImpl</artifactId>
  112. <version>${xerces.version}</version>
  113. <exclusions>
  114. <exclusion>
  115. <artifactId>xml-apis</artifactId>
  116. <groupId>xml-apis</groupId>
  117. </exclusion>
  118. </exclusions>
  119. <optional>true</optional>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.apache.poi</groupId>
  123. <artifactId>poi-scratchpad</artifactId>
  124. <version>${poi.version}</version>
  125. <exclusions>
  126. <exclusion>
  127. <artifactId>poi</artifactId>
  128. <groupId>org.apache.poi</groupId>
  129. </exclusion>
  130. </exclusions>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.commons</groupId>
  134. <artifactId>commons-lang3</artifactId>
  135. <version>${commons-lang.version}</version>
  136. </dependency>
  137. </dependencies>
  138. <build>
  139. <finalName>platform-office</finalName>
  140. </build>
  141. </project>