pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.yfhl</groupId>
  5. <artifactId>exam-api</artifactId>
  6. <packaging>jar</packaging>
  7. <version>1.0</version>
  8. <name>exam-api</name>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.1.4.RELEASE</version>
  13. </parent>
  14. <properties>
  15. <fastjson.version>1.2.56</fastjson.version>
  16. <oss.version>3.7.0</oss.version>
  17. <aliyun.sdk.version>4.1.1</aliyun.sdk.version>
  18. <swagger.version>2.9.2</swagger.version>
  19. <dozer.version>5.5.1</dozer.version>
  20. <apache.commons.version>3.8</apache.commons.version>
  21. <mysql.driver.version>8.0.11</mysql.driver.version>
  22. <mybatis-plus.version>3.4.1</mybatis-plus.version>
  23. <lombok.version>1.18.4</lombok.version>
  24. <thymeleaf.version>3.0.11.RELEASE</thymeleaf.version>
  25. <alicloud.version>2.1.1.RELEASE</alicloud.version>
  26. <poi.version>3.9</poi.version>
  27. <log4j2.version>2.16.0</log4j2.version>
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.aspectj</groupId>
  32. <artifactId>aspectjweaver</artifactId>
  33. <version>1.9.5</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.alibaba</groupId>
  37. <artifactId>fastjson</artifactId>
  38. <version>${fastjson.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>net.sf.dozer</groupId>
  42. <artifactId>dozer</artifactId>
  43. <version>${dozer.version}</version>
  44. <exclusions>
  45. <exclusion>
  46. <groupId>commons-collections</groupId>
  47. <artifactId>commons-collections</artifactId>
  48. </exclusion>
  49. <exclusion>
  50. <groupId>org.slf4j</groupId>
  51. <artifactId>slf4j-api</artifactId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. <!-- WEB支持-->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-web</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.baomidou</groupId>
  62. <artifactId>mybatis-plus</artifactId>
  63. <version>${mybatis-plus.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.baomidou</groupId>
  67. <artifactId>mybatis-plus-boot-starter</artifactId>
  68. <version>${mybatis-plus.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>mysql</groupId>
  72. <artifactId>mysql-connector-java</artifactId>
  73. <version>${mysql.driver.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.projectlombok</groupId>
  77. <artifactId>lombok</artifactId>
  78. <version>${lombok.version}</version>
  79. <scope>provided</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.dom4j</groupId>
  83. <artifactId>dom4j</artifactId>
  84. <version>2.1.1</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.springfox</groupId>
  88. <artifactId>springfox-swagger2</artifactId>
  89. <version>${swagger.version}</version>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>org.slf4j</groupId>
  93. <artifactId>slf4j-api</artifactId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.github.xiaoymin</groupId>
  99. <artifactId>swagger-bootstrap-ui</artifactId>
  100. <version>1.9.3</version>
  101. </dependency>
  102. <!-- poi office -->
  103. <dependency>
  104. <groupId>org.apache.poi</groupId>
  105. <artifactId>poi</artifactId>
  106. <version>${poi.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.poi</groupId>
  110. <artifactId>poi-ooxml</artifactId>
  111. <version>${poi.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.apache.poi</groupId>
  115. <artifactId>poi-ooxml-schemas</artifactId>
  116. <version>${poi.version}</version>
  117. </dependency>
  118. <!--JWT-->
  119. <dependency>
  120. <groupId>com.auth0</groupId>
  121. <artifactId>java-jwt</artifactId>
  122. <version>3.7.0</version>
  123. </dependency>
  124. <!-- Shiro -->
  125. <dependency>
  126. <groupId>org.apache.shiro</groupId>
  127. <artifactId>shiro-spring-boot-starter</artifactId>
  128. <version>1.8.0</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.alibaba</groupId>
  132. <artifactId>druid-spring-boot-starter</artifactId>
  133. <version>1.2.6</version>
  134. </dependency>
  135. </dependencies>
  136. <build>
  137. <finalName>${project.name}</finalName>
  138. <defaultGoal>compile</defaultGoal>
  139. <plugins>
  140. <plugin>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-maven-plugin</artifactId>
  143. <executions>
  144. <execution>
  145. <goals>
  146. <goal>repackage</goal>
  147. </goals>
  148. </execution>
  149. </executions>
  150. </plugin>
  151. <plugin>
  152. <groupId>org.apache.maven.plugins</groupId>
  153. <artifactId>maven-compiler-plugin</artifactId>
  154. <version>3.7.0</version>
  155. <configuration>
  156. <source>1.8</source>
  157. <target>1.8</target>
  158. <encoding>UTF-8</encoding>
  159. </configuration>
  160. </plugin>
  161. <plugin>
  162. <groupId>org.apache.maven.plugins</groupId>
  163. <artifactId>maven-surefire-plugin</artifactId>
  164. <version>2.22.1</version>
  165. <configuration>
  166. <skipTests>true</skipTests>
  167. </configuration>
  168. </plugin>
  169. </plugins>
  170. </build>
  171. </project>