pom.xml 9.0 KB

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