pom.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  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.vbdsm</groupId>
  6. <artifactId>vbdsm-statistics</artifactId>
  7. <version>2.0.0</version>
  8. <packaging>jar</packaging>
  9. <name>vbdsm-statistics</name>
  10. <properties>
  11. <!-- <spring-boot.version>2.7.13</spring-boot.version>-->
  12. <spring-boot.version>1.5.13.RELEASE</spring-boot.version>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <sharding-jdbc.version>3.0.0.M1</sharding-jdbc.version>
  16. <druid.version>1.1.1</druid.version>
  17. <java.version>1.7</java.version>
  18. </properties>
  19. <dependencyManagement>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-parent</artifactId>
  24. <version>${spring-boot.version}</version>
  25. <type>pom</type>
  26. <scope>import</scope>
  27. </dependency>
  28. </dependencies>
  29. </dependencyManagement>
  30. <!-- <parent>-->
  31. <!-- <groupId>org.springframework.boot</groupId>-->
  32. <!-- <artifactId>spring-boot-starter-parent</artifactId>-->
  33. <!-- <version>1.5.13.RELEASE</version>-->
  34. <!-- </parent>-->
  35. <profiles>
  36. <profile>
  37. <id>local</id>
  38. <activation>
  39. <activeByDefault>false</activeByDefault>
  40. </activation>
  41. <properties>
  42. <profiles.active>dev</profiles.active>
  43. </properties>
  44. </profile>
  45. <profile>
  46. <id>test</id>
  47. <activation>
  48. <activeByDefault>true</activeByDefault>
  49. </activation>
  50. <properties>
  51. <profiles.active>test</profiles.active>
  52. </properties>
  53. </profile>
  54. <profile>
  55. <id>product</id>
  56. <activation>
  57. <activeByDefault>false</activeByDefault>
  58. </activation>
  59. <properties>
  60. <profiles.active>prod</profiles.active>
  61. </properties>
  62. </profile>
  63. </profiles>
  64. <dependencies>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-aop</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>io.shardingsphere</groupId>
  71. <artifactId>sharding-jdbc</artifactId>
  72. <version>${sharding-jdbc.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework</groupId>
  76. <artifactId>spring-jdbc</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-jdbc</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-web</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>mysql</groupId>
  88. <artifactId>mysql-connector-java</artifactId>
  89. <version>8.0.11</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.mybatis</groupId>
  93. <artifactId>mybatis-spring</artifactId>
  94. <version>1.3.0</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.mybatis</groupId>
  98. <artifactId>mybatis</artifactId>
  99. <version>3.4.0</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.alibaba</groupId>
  103. <artifactId>druid</artifactId>
  104. <version>${druid.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.projectlombok</groupId>
  108. <artifactId>lombok</artifactId>
  109. <optional>true</optional>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.alibaba</groupId>
  113. <artifactId>fastjson</artifactId>
  114. <version>1.2.4</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.commons</groupId>
  118. <artifactId>commons-lang3</artifactId>
  119. <version>3.3.2</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-starter-test</artifactId>
  124. <scope>test</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>javax.persistence</groupId>
  128. <artifactId>persistence-api</artifactId>
  129. <version>1.0</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>javax.core.common</groupId>
  133. <artifactId>core-common-utils</artifactId>
  134. <version>1.0</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-data-redis</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework.session</groupId>
  142. <artifactId>spring-session-data-redis</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>cn.vbdsm</groupId>
  146. <artifactId>vbdsm-api</artifactId>
  147. <version>2.0.0</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.xuxueli</groupId>
  151. <artifactId>xxl-job-core</artifactId>
  152. <version>2.4.0</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>commons-beanutils</groupId>
  156. <artifactId>commons-beanutils-core</artifactId>
  157. <version>1.8.3</version>
  158. </dependency>
  159. </dependencies>
  160. <build>
  161. <resources>
  162. <resource>
  163. <directory>src/main/resources</directory>
  164. <filtering>true</filtering>
  165. <excludes>
  166. <exclude>config/application-*.yml</exclude>
  167. </excludes>
  168. </resource>
  169. <resource>
  170. <directory>src/main/resources</directory>
  171. <filtering>true</filtering>
  172. <includes>
  173. <include>config/application-${profiles.active}.yml</include>
  174. </includes>
  175. </resource>
  176. </resources>
  177. <plugins>
  178. <plugin>
  179. <groupId>org.codehaus.mojo</groupId>
  180. <artifactId>exec-maven-plugin</artifactId>
  181. <configuration>
  182. <skip>${skipTests}</skip>
  183. </configuration>
  184. <executions>
  185. <execution>
  186. <phase>test</phase>
  187. <goals>
  188. <goal>java</goal>
  189. </goals>
  190. <configuration>
  191. <mainClass>cn.vbdsm.statistics.StatisticsApplication</mainClass>
  192. </configuration>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.springframework.boot</groupId>
  198. <artifactId>spring-boot-maven-plugin</artifactId>
  199. </plugin>
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-compiler-plugin</artifactId>
  203. <configuration>
  204. <source>${java.version}</source>
  205. <target>${java.version}</target>
  206. <compilerVersion>${java.version}</compilerVersion>
  207. <encoding>UTF-8</encoding>
  208. <compilerArgument>-Xlint:unchecked</compilerArgument>
  209. </configuration>
  210. </plugin>
  211. </plugins>
  212. </build>
  213. </project>