pom.xml 8.0 KB

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