pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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. <!-- https://mvnrepository.com/artifact/io.netty/netty-all -->
  51. <dependency>
  52. <groupId>io.netty</groupId>
  53. <artifactId>netty-all</artifactId>
  54. <version>4.1.32.Final</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-web</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-test</artifactId>
  63. <scope>test</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-data-redis</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.tidecloud</groupId>
  71. <artifactId>data-common</artifactId>
  72. <version>0.0.1-SNAPSHOT</version>
  73. </dependency>
  74. <!-- <dependency>
  75. <groupId>io.springfox</groupId>
  76. <artifactId>springfox-swagger2</artifactId>
  77. <version>2.2.2</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>io.springfox</groupId>
  81. <artifactId>springfox-swagger-ui</artifactId>
  82. <version>2.2.2</version>
  83. </dependency> -->
  84. <dependency>
  85. <groupId>com.tidecloud</groupId>
  86. <artifactId>common-util</artifactId>
  87. <version>1.0-SNAPSHOT</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.tidecloud</groupId>
  91. <artifactId>common-general</artifactId>
  92. <version>1.0-SNAPSHOT</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>commons-lang</groupId>
  96. <artifactId>commons-lang</artifactId>
  97. <version>2.6</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.kafka</groupId>
  101. <artifactId>spring-kafka</artifactId>
  102. <version>1.2.0.RELEASE</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.alibaba</groupId>
  106. <artifactId>fastjson</artifactId>
  107. <version>1.2.8</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.springframework.cloud</groupId>
  111. <artifactId>spring-cloud-netflix-core</artifactId>
  112. <version>1.3.0.RELEASE</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.springframework.cloud</groupId>
  116. <artifactId>spring-cloud-starter-eureka</artifactId>
  117. <version>1.3.0.RELEASE</version>
  118. </dependency>
  119. <!--<dependency>
  120. <groupId>org.springframework.cloud</groupId>
  121. <artifactId>spring-cloud-netflix-eureka-client</artifactId>
  122. <version>1.3.0.RELEASE</version>
  123. </dependency>-->
  124. <dependency>
  125. <groupId>com.tidecloud</groupId>
  126. <artifactId>service-accept-client</artifactId>
  127. <version>1.0-SNAPSHOT</version>
  128. </dependency>
  129. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  130. <dependency>
  131. <groupId>commons-io</groupId>
  132. <artifactId>commons-io</artifactId>
  133. <version>2.6</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.tidecloud.iot</groupId>
  137. <artifactId>data-dispatcher-client</artifactId>
  138. <version>1.0-SNAPSHOT</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework.cloud</groupId>
  142. <artifactId>spring-cloud-commons</artifactId>
  143. <version>1.2.0.RELEASE</version>
  144. </dependency>
  145. </dependencies>
  146. <build>
  147. <finalName>data-acceptance</finalName>
  148. <resources>
  149. <resource>
  150. <directory>${project.basedir}/src/main/resources</directory>
  151. <excludes>
  152. <exclude>dev/**</exclude>
  153. <exclude>test/**</exclude>
  154. <exclude>prod/**</exclude>
  155. </excludes>
  156. <filtering>false</filtering>
  157. </resource>
  158. <resource>
  159. <directory>${project.basedir}/src/main/resources/${env}</directory>
  160. <filtering>false</filtering>
  161. </resource>
  162. </resources>
  163. <plugins>
  164. <plugin>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-maven-plugin</artifactId>
  167. </plugin>
  168. <plugin>
  169. <artifactId>maven-resources-plugin</artifactId>
  170. <version>2.5</version>
  171. <configuration>
  172. <encoding>UTF-8</encoding>
  173. </configuration>
  174. <executions>
  175. <execution>
  176. <id>copy-bin</id>
  177. <phase>package</phase>
  178. <goals>
  179. <goal>copy-resources</goal>
  180. </goals>
  181. <configuration>
  182. <outputDirectory>${project.build.directory}</outputDirectory>
  183. <resources>
  184. <resource>
  185. <directory>src/bin</directory>
  186. </resource>
  187. </resources>
  188. </configuration>
  189. </execution>
  190. </executions>
  191. </plugin>
  192. </plugins>
  193. </build>
  194. </project>