pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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. <groupId>com.tidecloud</groupId>
  6. <artifactId>data-acceptance</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>jar</packaging>
  9. <name>data-acceptance</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.2.RELEASE</version>
  15. <relativePath/> <!-- lookup parent from repository -->
  16. </parent>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. </properties>
  22. <profiles>
  23. <profile>
  24. <id>dev</id>
  25. <properties>
  26. <env>dev</env>
  27. </properties>
  28. <activation>
  29. <activeByDefault>true</activeByDefault>
  30. </activation>
  31. </profile>
  32. <profile>
  33. <id>test</id>
  34. <properties>
  35. <env>test</env>
  36. </properties>
  37. </profile>
  38. <profile>
  39. <id>prod</id>
  40. <properties>
  41. <env>prod</env>
  42. </properties>
  43. </profile>
  44. </profiles>
  45. <dependencies>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>io.netty</groupId>
  52. <artifactId>netty-all</artifactId>
  53. <version>4.1.15.Final</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-web</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-test</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-data-redis</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.tidecloud</groupId>
  70. <artifactId>data-common</artifactId>
  71. <version>0.0.1-SNAPSHOT</version>
  72. </dependency>
  73. <!-- <dependency>
  74. <groupId>io.springfox</groupId>
  75. <artifactId>springfox-swagger2</artifactId>
  76. <version>2.2.2</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>io.springfox</groupId>
  80. <artifactId>springfox-swagger-ui</artifactId>
  81. <version>2.2.2</version>
  82. </dependency> -->
  83. <dependency>
  84. <groupId>com.tidecloud</groupId>
  85. <artifactId>common-util</artifactId>
  86. <version>1.0-SNAPSHOT</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.tidecloud</groupId>
  90. <artifactId>common-general</artifactId>
  91. <version>1.0-SNAPSHOT</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>commons-lang</groupId>
  95. <artifactId>commons-lang</artifactId>
  96. <version>2.6</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.kafka</groupId>
  100. <artifactId>spring-kafka</artifactId>
  101. <version>1.2.0.RELEASE</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>fastjson</artifactId>
  106. <version>1.2.8</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springframework.cloud</groupId>
  110. <artifactId>spring-cloud-netflix-core</artifactId>
  111. <version>1.3.0.RELEASE</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.springframework.cloud</groupId>
  115. <artifactId>spring-cloud-starter-eureka</artifactId>
  116. <version>1.3.0.RELEASE</version>
  117. </dependency>
  118. <!--<dependency>
  119. <groupId>org.springframework.cloud</groupId>
  120. <artifactId>spring-cloud-netflix-eureka-client</artifactId>
  121. <version>1.3.0.RELEASE</version>
  122. </dependency>-->
  123. <dependency>
  124. <groupId>com.tidecloud</groupId>
  125. <artifactId>service-accept-client</artifactId>
  126. <version>1.0-SNAPSHOT</version>
  127. </dependency>
  128. </dependencies>
  129. <build>
  130. <finalName>data-acceptance</finalName>
  131. <resources>
  132. <resource>
  133. <directory>${project.basedir}/src/main/resources</directory>
  134. <excludes>
  135. <exclude>dev/**</exclude>
  136. <exclude>test/**</exclude>
  137. <exclude>prod/**</exclude>
  138. </excludes>
  139. <filtering>false</filtering>
  140. </resource>
  141. <resource>
  142. <directory>${project.basedir}/src/main/resources/${env}</directory>
  143. <filtering>false</filtering>
  144. </resource>
  145. </resources>
  146. <plugins>
  147. <plugin>
  148. <groupId>org.springframework.boot</groupId>
  149. <artifactId>spring-boot-maven-plugin</artifactId>
  150. </plugin>
  151. <plugin>
  152. <artifactId>maven-resources-plugin</artifactId>
  153. <version>2.5</version>
  154. <configuration>
  155. <encoding>UTF-8</encoding>
  156. </configuration>
  157. <executions>
  158. <execution>
  159. <id>copy-bin</id>
  160. <phase>package</phase>
  161. <goals>
  162. <goal>copy-resources</goal>
  163. </goals>
  164. <configuration>
  165. <outputDirectory>${project.build.directory}</outputDirectory>
  166. <resources>
  167. <resource>
  168. <directory>src/bin</directory>
  169. </resource>
  170. </resources>
  171. </configuration>
  172. </execution>
  173. </executions>
  174. </plugin>
  175. </plugins>
  176. </build>
  177. </project>