pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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-core-common</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.zcxk</groupId>
  50. <artifactId>zoniot-core-oauth2</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.zcxk</groupId>
  54. <artifactId>zoniot-core-redis</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.cloud</groupId>
  63. <artifactId>spring-cloud-starter-openfeign</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-amqp</artifactId>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <resources>
  72. <resource>
  73. <directory>src/main/java</directory>
  74. <includes>
  75. <include>**/*.xml</include>
  76. </includes>
  77. <filtering>false</filtering>
  78. </resource>
  79. <resource>
  80. <directory>src/main/resources</directory>
  81. <includes>
  82. <include>**/*.properties</include>
  83. <include>**/*.yml</include>
  84. <include>**/*.xml</include>
  85. <include>**/*.tld</include>
  86. </includes>
  87. <filtering>false</filtering>
  88. </resource>
  89. </resources>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-maven-plugin</artifactId>
  94. <version>1.5.2.RELEASE</version>
  95. <executions>
  96. <execution>
  97. <goals>
  98. <goal>repackage</goal>
  99. </goals>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-compiler-plugin</artifactId>
  106. <version>3.5.1</version>
  107. <configuration>
  108. <source>${jdk.version}</source>
  109. <target>${jdk.version}</target>
  110. <showWarnings>true</showWarnings>
  111. </configuration>
  112. </plugin>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-jar-plugin</artifactId>
  116. <version>2.4</version>
  117. <configuration></configuration>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. </project>