pom.xml 8.3 KB

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