pom.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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>cn.com.qmth.examcloud</groupId>
  6. <artifactId>examcloud-app-api</artifactId>
  7. <version>master-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <parent>
  10. <groupId>cn.com.qmth.examcloud</groupId>
  11. <artifactId>examcloud-parent</artifactId>
  12. <version>master-SNAPSHOT</version>
  13. </parent>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>cn.com.qmth.examcloud.rmi</groupId>
  22. <artifactId>examcloud-commons-api</artifactId>
  23. <version>${examcloud.version}</version>
  24. <exclusions>
  25. <exclusion>
  26. <groupId>mysql</groupId>
  27. <artifactId>mysql-connector-java</artifactId>
  28. </exclusion>
  29. <exclusion>
  30. <groupId>commons-io</groupId>
  31. <artifactId>commons-io</artifactId>
  32. </exclusion>
  33. <exclusion>
  34. <groupId>commons-codec</groupId>
  35. <artifactId>commons-codec</artifactId>
  36. </exclusion>
  37. <exclusion>
  38. <groupId>org.apache.commons</groupId>
  39. <artifactId>commons-lang3</artifactId>
  40. </exclusion>
  41. <exclusion>
  42. <groupId>com.alibaba</groupId>
  43. <artifactId>fastjson</artifactId>
  44. </exclusion>
  45. <exclusion>
  46. <groupId>com.google.code.findbugs</groupId>
  47. <artifactId>jsr305</artifactId>
  48. </exclusion>
  49. <exclusion>
  50. <groupId>org.ow2.asm</groupId>
  51. <artifactId>asm</artifactId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. <dependency>
  56. <groupId>mysql</groupId>
  57. <artifactId>mysql-connector-java</artifactId>
  58. <version>5.1.47</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.commons</groupId>
  62. <artifactId>commons-lang3</artifactId>
  63. <version>3.8.1</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>commons-io</groupId>
  67. <artifactId>commons-io</artifactId>
  68. <version>2.6</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>commons-codec</groupId>
  72. <artifactId>commons-codec</artifactId>
  73. <version>1.11</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.jsoup</groupId>
  77. <artifactId>jsoup</artifactId>
  78. <version>1.11.3</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.alibaba</groupId>
  82. <artifactId>fastjson</artifactId>
  83. <version>1.2.51</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.squareup.okhttp3</groupId>
  87. <artifactId>okhttp</artifactId>
  88. <version>3.11.0</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>io.springfox</groupId>
  92. <artifactId>springfox-swagger2</artifactId>
  93. <version>2.9.2</version>
  94. <exclusions>
  95. <exclusion>
  96. <groupId>com.google.guava</groupId>
  97. <artifactId>guava</artifactId>
  98. </exclusion>
  99. </exclusions>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.github.xiaoymin</groupId>
  103. <artifactId>swagger-bootstrap-ui</artifactId>
  104. <version>1.8.9</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-data-jpa</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-data-redis</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter-freemarker</artifactId>
  117. <exclusions>
  118. <exclusion>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-starter-tomcat</artifactId>
  121. </exclusion>
  122. </exclusions>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-starter-test</artifactId>
  127. <scope>test</scope>
  128. </dependency>
  129. </dependencies>
  130. <build>
  131. <finalName>examcloud-app-api</finalName>
  132. <plugins>
  133. <plugin>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-maven-plugin</artifactId>
  136. </plugin>
  137. <plugin>
  138. <groupId>org.apache.maven.plugins</groupId>
  139. <artifactId>maven-surefire-plugin</artifactId>
  140. <configuration>
  141. <skip>true</skip>
  142. <skipTests>true</skipTests>
  143. </configuration>
  144. </plugin>
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-source-plugin</artifactId>
  148. <configuration>
  149. <attach>true</attach>
  150. </configuration>
  151. <executions>
  152. <execution>
  153. <id>attach-sources</id>
  154. <phase>install</phase>
  155. <goals>
  156. <goal>jar-no-fork</goal>
  157. </goals>
  158. </execution>
  159. </executions>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-deploy-plugin</artifactId>
  164. <configuration>
  165. <skip>true</skip>
  166. </configuration>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-jar-plugin</artifactId>
  171. <configuration>
  172. <archive>
  173. <manifest>
  174. <mainClass>cn.com.qmth.examcloud.app.ApiApplication</mainClass>
  175. <addClasspath>true</addClasspath>
  176. <classpathPrefix>./</classpathPrefix>
  177. </manifest>
  178. <manifestEntries>
  179. <Class-Path>../config/</Class-Path>
  180. </manifestEntries>
  181. </archive>
  182. <excludes>
  183. <exclude>*.properties</exclude>
  184. <exclude>*.xml</exclude>
  185. <exclude>*.conf</exclude>
  186. </excludes>
  187. </configuration>
  188. </plugin>
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-assembly-plugin</artifactId>
  192. <configuration>
  193. <finalName>examcloud-app-api</finalName>
  194. <descriptors>
  195. <descriptor>assembly.xml</descriptor>
  196. </descriptors>
  197. </configuration>
  198. <executions>
  199. <execution>
  200. <id>make-assembly</id>
  201. <phase>install</phase>
  202. <goals>
  203. <goal>assembly</goal>
  204. </goals>
  205. </execution>
  206. </executions>
  207. </plugin>
  208. </plugins>
  209. </build>
  210. </project>