pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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>zoniot-water</artifactId>
  7. <groupId>com.zcxk</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>zoniot-water-web</artifactId>
  12. <properties>
  13. <jdk.version>1.8</jdk.version>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.alibaba.cloud</groupId>
  18. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.alibaba.cloud</groupId>
  22. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  23. <exclusions>
  24. <exclusion>
  25. <artifactId>guava</artifactId>
  26. <groupId>com.google.guava</groupId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <!--spring-boot-starter-aop-->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-aop</artifactId>
  34. </dependency>
  35. <!--zoniot公共包-->
  36. <dependency>
  37. <groupId>com.zcxk</groupId>
  38. <artifactId>zoniot-water-api</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.zcxk</groupId>
  42. <artifactId>zoniot-water-core</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.zcxk</groupId>
  46. <artifactId>zoniot-iot-sync</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.zcxk</groupId>
  50. <artifactId>zoniot-core-common</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.zcxk</groupId>
  54. <artifactId>zoniot-core-oauth2</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.zcxk</groupId>
  58. <artifactId>zoniot-core-redis</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.cloud</groupId>
  67. <artifactId>spring-cloud-starter-openfeign</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-amqp</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.zcxk</groupId>
  75. <artifactId>zoniot-core-mq</artifactId>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <resources>
  80. <resource>
  81. <directory>src/main/java</directory>
  82. <includes>
  83. <include>**/*.xml</include>
  84. </includes>
  85. <filtering>false</filtering>
  86. </resource>
  87. <resource>
  88. <directory>src/main/resources</directory>
  89. <includes>
  90. <include>**/*.properties</include>
  91. <include>**/*.yml</include>
  92. <include>**/*.xml</include>
  93. <include>**/*.tld</include>
  94. </includes>
  95. <filtering>false</filtering>
  96. </resource>
  97. </resources>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. <version>1.5.2.RELEASE</version>
  103. <executions>
  104. <execution>
  105. <goals>
  106. <goal>repackage</goal>
  107. </goals>
  108. </execution>
  109. </executions>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-compiler-plugin</artifactId>
  114. <version>3.5.1</version>
  115. <configuration>
  116. <source>${jdk.version}</source>
  117. <target>${jdk.version}</target>
  118. <showWarnings>true</showWarnings>
  119. </configuration>
  120. </plugin>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-jar-plugin</artifactId>
  124. <version>2.4</version>
  125. <configuration></configuration>
  126. </plugin>
  127. </plugins>
  128. </build>
  129. </project>