pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>parent</artifactId>
  7. <groupId>com.jpsoft.employment</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>com.jpsoft.employment</groupId>
  12. <artifactId>web</artifactId>
  13. <version>1.0.0</version>
  14. <name>web</name>
  15. <packaging>war</packaging>
  16. <description>企业联合会</description>
  17. <properties>
  18. <swagger2.version>2.7.0</swagger2.version>
  19. <jwts.version>0.10.5</jwts.version>
  20. <netty-all.version>4.1.6.Final</netty-all.version>
  21. <fastjson.version>1.2.29</fastjson.version>
  22. <alipay.version>4.8.10.ALL</alipay.version>
  23. <ijpay.version>2.3.2</ijpay.version>
  24. <poi.version>4.1.0</poi.version>
  25. <lombok.version>1.18.12</lombok.version>
  26. </properties>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. <exclusions>
  32. <exclusion>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-tomcat</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>net.sourceforge.nekohtml</groupId>
  44. <artifactId>nekohtml</artifactId>
  45. <version>1.9.22</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.jpsoft.employment</groupId>
  49. <artifactId>common</artifactId>
  50. <version>1.0.0</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-aop</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>io.springfox</groupId>
  58. <artifactId>springfox-swagger2</artifactId>
  59. <version>${swagger2.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>io.springfox</groupId>
  63. <artifactId>springfox-swagger-ui</artifactId>
  64. <version>${swagger2.version}</version>
  65. </dependency>
  66. <!--整合Knife4j-->
  67. <dependency>
  68. <groupId>com.github.xiaoymin</groupId>
  69. <artifactId>knife4j-spring-boot-starter</artifactId>
  70. <version>2.0.4</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.httpcomponents</groupId>
  74. <artifactId>httpclient</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.httpcomponents</groupId>
  78. <artifactId>httpclient</artifactId>
  79. </dependency>
  80. <!--jwt start-->
  81. <dependency>
  82. <groupId>io.jsonwebtoken</groupId>
  83. <artifactId>jjwt-api</artifactId>
  84. <version>0.10.5</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>io.jsonwebtoken</groupId>
  88. <artifactId>jjwt-impl</artifactId>
  89. <version>${jwts.version}</version>
  90. <scope>runtime</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.jsonwebtoken</groupId>
  94. <artifactId>jjwt-jackson</artifactId>
  95. <version>${jwts.version}</version>
  96. <scope>runtime</scope>
  97. </dependency>
  98. <!--jwt end-->
  99. </dependencies>
  100. <build>
  101. <plugins>
  102. <plugin>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-maven-plugin</artifactId>
  105. <configuration>
  106. <fork>true</fork>
  107. <addResources>true</addResources>
  108. </configuration>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. <profiles>
  113. <profile>
  114. <id>dev</id>
  115. <dependencies>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-tomcat</artifactId>
  119. </dependency>
  120. </dependencies>
  121. <properties>
  122. <active.profile>dev</active.profile>
  123. </properties>
  124. <activation>
  125. <activeByDefault>true</activeByDefault>
  126. </activation>
  127. </profile>
  128. <profile>
  129. <id>test</id>
  130. <dependencies>
  131. <dependency>
  132. <groupId>javax.servlet</groupId>
  133. <artifactId>javax.servlet-api</artifactId>
  134. <version>3.1.0</version>
  135. <scope>provided</scope>
  136. </dependency>
  137. </dependencies>
  138. <properties>
  139. <active.profile>test</active.profile>
  140. </properties>
  141. </profile>
  142. <profile>
  143. <id>production</id>
  144. <properties>
  145. <active.profile>production</active.profile>
  146. </properties>
  147. <dependencies>
  148. <dependency>
  149. <groupId>javax.servlet</groupId>
  150. <artifactId>javax.servlet-api</artifactId>
  151. <version>3.1.0</version>
  152. <scope>provided</scope>
  153. </dependency>
  154. </dependencies>
  155. </profile>
  156. </profiles>
  157. </project>