pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. 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>dd-college-export</groupId>
  6. <artifactId>dd-college-export</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <properties>
  9. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  10. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  11. </properties>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.oracle</groupId>
  15. <artifactId>ojdbc6</artifactId>
  16. <version>11.2.0.3</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>mysql</groupId>
  20. <artifactId>mysql-connector-java</artifactId>
  21. <version>8.0.17</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.apache.logging.log4j</groupId>
  25. <artifactId>log4j-1.2-api</artifactId>
  26. <version>2.3</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.apache.poi</groupId>
  30. <artifactId>poi</artifactId>
  31. <version>3.17</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.poi</groupId>
  35. <artifactId>poi-ooxml</artifactId>
  36. <version>3.17</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.squareup.okhttp3</groupId>
  40. <artifactId>okhttp</artifactId>
  41. <version>3.11.0</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.google.guava</groupId>
  45. <artifactId>guava</artifactId>
  46. <version>23.0</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>commons-io</groupId>
  50. <artifactId>commons-io</artifactId>
  51. <version>2.5</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.google.code.gson</groupId>
  55. <artifactId>gson</artifactId>
  56. <version>2.8.5</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.commons</groupId>
  60. <artifactId>commons-text</artifactId>
  61. <version>1.9</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.qmth.boot</groupId>
  65. <artifactId>tools-poi</artifactId>
  66. <version>1.0.5</version>
  67. </dependency>
  68. </dependencies>
  69. <repositories>
  70. <repository>
  71. <id>aliyun-repos</id>
  72. <url>https://maven.aliyun.com/repository/public</url>
  73. <releases>
  74. <enabled>true</enabled>
  75. </releases>
  76. <snapshots>
  77. <enabled>false</enabled>
  78. </snapshots>
  79. </repository>
  80. <repository>
  81. <id>atlassian</id>
  82. <name>Central Repository</name>
  83. <url>https://packages.atlassian.com/maven-3rdparty/</url>
  84. <layout>default</layout>
  85. <snapshots>
  86. <enabled>false</enabled>
  87. </snapshots>
  88. </repository>
  89. </repositories>
  90. <build>
  91. <plugins>
  92. <plugin>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-maven-plugin</artifactId>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-surefire-plugin</artifactId>
  99. <configuration>
  100. <testFailureIgnore>true</testFailureIgnore>
  101. <skipTests>true</skipTests>
  102. </configuration>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-compiler-plugin</artifactId>
  107. <configuration>
  108. <source>1.6</source>
  109. <target>1.6</target>
  110. <compilerArgument>-proc:none</compilerArgument>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-source-plugin</artifactId>
  116. <configuration>
  117. <attach>true</attach>
  118. </configuration>
  119. <executions>
  120. <execution>
  121. <phase>compile</phase>
  122. <goals>
  123. <goal>jar</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-jar-plugin</artifactId>
  131. <version>2.6</version>
  132. <configuration>
  133. <archive>
  134. <manifest>
  135. <addClasspath>true</addClasspath>
  136. <classpathPrefix>lib/</classpathPrefix>
  137. <mainClass>cn.com.qmth.export.Export</mainClass>
  138. </manifest>
  139. </archive>
  140. </configuration>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-dependency-plugin</artifactId>
  145. <version>2.10</version>
  146. <executions>
  147. <execution>
  148. <id>copy-dependencies</id>
  149. <phase>package</phase>
  150. <goals>
  151. <goal>copy-dependencies</goal>
  152. </goals>
  153. <configuration>
  154. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  155. </configuration>
  156. </execution>
  157. </executions>
  158. </plugin>
  159. </plugins>
  160. </build>
  161. </project>