pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. <parent>
  5. <artifactId>dubbo-service</artifactId>
  6. <groupId>com.platform</groupId>
  7. <version>1.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>dubbo-service-Impl</artifactId>
  11. <packaging>war</packaging>
  12. <name>dubbo-service-Impl Maven Webapp</name>
  13. <!-- FIXME change it to the project's website -->
  14. <url>http://www.example.com</url>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>com.platform</groupId>
  23. <artifactId>dubbo-service-interface</artifactId>
  24. <version>1.0</version>
  25. </dependency>
  26. <!-- dubbo相关 -->
  27. <dependency>
  28. <groupId>com.alibaba</groupId>
  29. <artifactId>dubbo</artifactId>
  30. <version>2.6.1</version>
  31. <exclusions>
  32. <exclusion>
  33. <groupId>log4j</groupId>
  34. <artifactId>log4j</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.zookeeper</groupId>
  40. <artifactId>zookeeper</artifactId>
  41. <version>3.4.14</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.curator</groupId>
  45. <artifactId>curator-framework</artifactId>
  46. <version>4.0.1</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework</groupId>
  50. <artifactId>spring-aspects</artifactId>
  51. <version>5.1.10.RELEASE</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.aliyun.oss</groupId>
  55. <artifactId>aliyun-sdk-oss</artifactId>
  56. <version>3.4.1</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>commons-collections</groupId>
  60. <artifactId>commons-collections</artifactId>
  61. <version>3.2.2</version>
  62. </dependency>
  63. </dependencies>
  64. <build>
  65. <finalName>dubbo-service-Impl</finalName>
  66. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  67. <plugins>
  68. <plugin>
  69. <artifactId>maven-clean-plugin</artifactId>
  70. <version>3.1.0</version>
  71. </plugin>
  72. <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
  73. <plugin>
  74. <artifactId>maven-resources-plugin</artifactId>
  75. <version>3.0.2</version>
  76. </plugin>
  77. <plugin>
  78. <artifactId>maven-compiler-plugin</artifactId>
  79. <version>3.8.0</version>
  80. </plugin>
  81. <plugin>
  82. <artifactId>maven-surefire-plugin</artifactId>
  83. <version>2.22.1</version>
  84. </plugin>
  85. <plugin>
  86. <artifactId>maven-war-plugin</artifactId>
  87. <version>3.2.2</version>
  88. </plugin>
  89. <plugin>
  90. <artifactId>maven-install-plugin</artifactId>
  91. <version>2.5.2</version>
  92. </plugin>
  93. <plugin>
  94. <artifactId>maven-deploy-plugin</artifactId>
  95. <version>2.8.2</version>
  96. </plugin>
  97. </plugins>
  98. </pluginManagement>
  99. <resources>
  100. <resource>
  101. <directory>src/main/java</directory>
  102. <includes>
  103. <include>**/*.properties</include>
  104. <include>**/*.xml</include>
  105. </includes>
  106. <filtering>true</filtering>
  107. </resource>
  108. <resource>
  109. <directory>src/main/resources</directory>
  110. <includes>
  111. <include>**/*.properties</include>
  112. <include>**/*.xml</include>
  113. </includes>
  114. <filtering>true</filtering>
  115. </resource>
  116. </resources>
  117. </build>
  118. </project>