pom.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.quiteJee.poi</groupId>
  5. <artifactId>wordParse</artifactId>
  6. <version>0.0.1</version>
  7. <packaging>jar</packaging>
  8. <properties>
  9. <!-- Generic properties -->
  10. <java.version>1.8</java.version>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <!-- jdk 版本 -->
  14. <jdk.version>1.8</jdk.version>
  15. <!-- Logging -->
  16. <logback.version>1.0.13</logback.version>
  17. <slf4j.version>1.7.5</slf4j.version>
  18. <!-- Test -->
  19. <junit.version>4.11</junit.version>
  20. <poi.version>3.15</poi.version>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.quiteJeeframework</groupId>
  25. <artifactId>excelTool</artifactId>
  26. <version>0.0.2</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.quiteJeeframework</groupId>
  30. <artifactId>utils</artifactId>
  31. <version>0.0.1-SNAPSHOT</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>dom4j</groupId>
  35. <artifactId>dom4j</artifactId>
  36. <version>1.6.1</version>
  37. </dependency>
  38. </dependencies>
  39. <profiles>
  40. <profile>
  41. <id>jdk-version</id>
  42. <!-- 另外一种激活方式 -->
  43. <activation>
  44. <activeByDefault>true</activeByDefault>
  45. <jdk>${jdk.version}</jdk>
  46. </activation>
  47. <properties>
  48. <maven.compiler.source>${jdk.version}</maven.compiler.source>
  49. <maven.compiler.target>${jdk.version}</maven.compiler.target>
  50. <maven.compiler.compilerVersion>${jdk.version}</maven.compiler.compilerVersion>
  51. </properties>
  52. </profile>
  53. </profiles>
  54. <build>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-compiler-plugin</artifactId>
  59. <version>2.5</version>
  60. <configuration>
  61. <source>1.8</source>
  62. <target>1.8</target>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-shade-plugin</artifactId>
  68. <version>2.4.1</version>
  69. <executions>
  70. <execution>
  71. <phase>package</phase>
  72. <goals>
  73. <goal>shade</goal>
  74. </goals>
  75. <configuration>
  76. <transformers>
  77. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  78. <mainClass>com.quiteJee.poi.word.parse.ReadWord</mainClass>
  79. </transformer>
  80. </transformers>
  81. </configuration>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. </plugins>
  86. </build>
  87. </project>