pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.yihu.jw</groupId>
  8. <artifactId>svr-lib-parent-pom</artifactId>
  9. <version>1.0.0</version>
  10. <relativePath>../../svr-lib-parent-pom/pom.xml</relativePath>
  11. </parent>
  12. <groupId>com.yihu.jw</groupId>
  13. <artifactId>svr-configuration</artifactId>
  14. <version>1.0.0</version>
  15. <packaging>jar</packaging>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.cloud</groupId>
  19. <artifactId>spring-cloud-config-server</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.cloud</groupId>
  23. <artifactId>spring-cloud-starter-eureka</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.cloud</groupId>
  27. <artifactId>spring-cloud-starter</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-security</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-actuator</artifactId>
  36. </dependency>
  37. </dependencies>
  38. <build>
  39. <finalName>svr-configuration</finalName>
  40. <plugins>
  41. <plugin>
  42. <artifactId>maven-war-plugin</artifactId>
  43. <configuration>
  44. <failOnMissingWebXml>false</failOnMissingWebXml>
  45. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  46. </configuration>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-maven-plugin</artifactId>
  51. <executions>
  52. <execution>
  53. <goals>
  54. <goal>repackage</goal>
  55. </goals>
  56. </execution>
  57. </executions>
  58. <configuration>
  59. <mainClass>com.yihu.jw.SvrConfiguration</mainClass>
  60. </configuration>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>