pom.xml 5.3 KB

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