pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. </dependencies>
  74. <build>
  75. <resources>
  76. <resource>
  77. <directory>src/main/java</directory>
  78. <includes>
  79. <include>**/*.xml</include>
  80. </includes>
  81. <filtering>false</filtering>
  82. </resource>
  83. <resource>
  84. <directory>src/main/resources</directory>
  85. <includes>
  86. <include>**/*.properties</include>
  87. <include>**/*.yml</include>
  88. <include>**/*.xml</include>
  89. <include>**/*.tld</include>
  90. </includes>
  91. <filtering>false</filtering>
  92. </resource>
  93. </resources>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.springframework.boot</groupId>
  97. <artifactId>spring-boot-maven-plugin</artifactId>
  98. <version>1.5.2.RELEASE</version>
  99. <executions>
  100. <execution>
  101. <goals>
  102. <goal>repackage</goal>
  103. </goals>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-compiler-plugin</artifactId>
  110. <version>3.5.1</version>
  111. <configuration>
  112. <source>${jdk.version}</source>
  113. <target>${jdk.version}</target>
  114. <showWarnings>true</showWarnings>
  115. </configuration>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-jar-plugin</artifactId>
  120. <version>2.4</version>
  121. <configuration></configuration>
  122. </plugin>
  123. </plugins>
  124. </build>
  125. </project>