pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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>gk-college-export</groupId>
  6. <artifactId>gk-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>net.coobird</groupId>
  15. <artifactId>thumbnailator</artifactId>
  16. <version>0.4.8</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>io.swagger</groupId>
  20. <artifactId>swagger-annotations</artifactId>
  21. <version>1.5.24</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>io.swagger</groupId>
  25. <artifactId>swagger-models</artifactId>
  26. <version>1.5.24</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>io.springfox</groupId>
  30. <artifactId>springfox-swagger2</artifactId>
  31. <version>2.9.2</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.github.xiaoymin</groupId>
  35. <artifactId>swagger-bootstrap-ui</artifactId>
  36. <version>1.9.6</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>io.springfox</groupId>
  40. <artifactId>springfox-swagger-ui</artifactId>
  41. <version>2.9.2</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>mysql</groupId>
  45. <artifactId>mysql-connector-java</artifactId>
  46. <version>8.0.17</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.logging.log4j</groupId>
  50. <artifactId>log4j-1.2-api</artifactId>
  51. <version>2.3</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.apache.poi</groupId>
  55. <artifactId>poi</artifactId>
  56. <version>3.17</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.alibaba</groupId>
  60. <artifactId>fastjson</artifactId>
  61. <version>1.2.76</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.jsoup</groupId>
  65. <artifactId>jsoup</artifactId>
  66. <version>1.13.1</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.commons</groupId>
  70. <artifactId>commons-lang3</artifactId>
  71. <version>3.12.0</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.poi</groupId>
  75. <artifactId>poi-ooxml</artifactId>
  76. <version>3.17</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.squareup.okhttp3</groupId>
  80. <artifactId>okhttp</artifactId>
  81. <version>3.11.0</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.google.guava</groupId>
  85. <artifactId>guava</artifactId>
  86. <version>23.0</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>commons-io</groupId>
  90. <artifactId>commons-io</artifactId>
  91. <version>2.5</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.google.code.gson</groupId>
  95. <artifactId>gson</artifactId>
  96. <version>2.8.5</version>
  97. </dependency>
  98. </dependencies>
  99. <build>
  100. <plugins>
  101. <plugin>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-maven-plugin</artifactId>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-surefire-plugin</artifactId>
  108. <configuration>
  109. <testFailureIgnore>true</testFailureIgnore>
  110. <skipTests>true</skipTests>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-compiler-plugin</artifactId>
  116. <configuration>
  117. <source>1.6</source>
  118. <target>1.6</target>
  119. <compilerArgument>-proc:none</compilerArgument>
  120. </configuration>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-source-plugin</artifactId>
  125. <configuration>
  126. <attach>true</attach>
  127. </configuration>
  128. <executions>
  129. <execution>
  130. <phase>compile</phase>
  131. <goals>
  132. <goal>jar</goal>
  133. </goals>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-jar-plugin</artifactId>
  140. <version>2.6</version>
  141. <configuration>
  142. <archive>
  143. <manifest>
  144. <addClasspath>true</addClasspath>
  145. <classpathPrefix>lib/</classpathPrefix>
  146. <mainClass>cn.com.qmth.export.Export</mainClass>
  147. </manifest>
  148. </archive>
  149. </configuration>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-dependency-plugin</artifactId>
  154. <version>2.10</version>
  155. <executions>
  156. <execution>
  157. <id>copy-dependencies</id>
  158. <phase>package</phase>
  159. <goals>
  160. <goal>copy-dependencies</goal>
  161. </goals>
  162. <configuration>
  163. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  164. </configuration>
  165. </execution>
  166. </executions>
  167. </plugin>
  168. <plugin>
  169. <groupId>io.github.swagger2markup</groupId>
  170. <artifactId>swagger2markup-maven-plugin</artifactId>
  171. <version>1.2.0</version>
  172. <configuration>
  173. <!--此处端口一定要是当前项目启动所用的端口 -->
  174. <swaggerInput>http://192.168.1.91:8090/v2/api-docs</swaggerInput>
  175. <outputDir>src/docs/asciidoc/generated</outputDir>
  176. <config>
  177. <!-- 除了ASCIIDOC之外,还有MARKDOWN和CONFLUENCE_MARKUP可选 -->
  178. <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
  179. </config>
  180. </configuration>
  181. </plugin>
  182. </plugins>
  183. </build>
  184. <repositories>
  185. <repository>
  186. <id>nexus</id>
  187. <name>Nexus</name>
  188. <url>http://nexus-host:8081/repository/maven-public/</url>
  189. </repository>
  190. </repositories>
  191. <pluginRepositories>
  192. <pluginRepository>
  193. <id>nexus</id>
  194. <name>Nexus</name>
  195. <url>http://nexus-host:8081/repository/maven-public/</url>
  196. </pluginRepository>
  197. </pluginRepositories>
  198. <distributionManagement>
  199. <repository>
  200. <id>releases</id>
  201. <url>http://nexus-host:8081/repository/maven-releases/</url>
  202. </repository>
  203. <snapshotRepository>
  204. <id>snapshots</id>
  205. <url>http://nexus-host:8081/repository/maven-snapshots/</url>
  206. </snapshotRepository>
  207. </distributionManagement>
  208. </project>