pom.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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-discovery</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-starter-eureka-server</artifactId>-->
  20. <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-logging</artifactId>
  29. </dependency>
  30. <!--给 eurika界面添加账号密码验证-->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-security</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework</groupId>
  37. <artifactId>spring-webmvc</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>net.sf.json-lib</groupId>
  41. <artifactId>json-lib</artifactId>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <finalName>svr-discovery</finalName>
  46. <plugins>
  47. <plugin>
  48. <artifactId>maven-war-plugin</artifactId>
  49. <configuration>
  50. <failOnMissingWebXml>false</failOnMissingWebXml>
  51. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  52. </configuration>
  53. </plugin>
  54. <plugin>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-maven-plugin</artifactId>
  57. <executions>
  58. <execution>
  59. <goals>
  60. <goal>repackage</goal>
  61. </goals>
  62. </execution>
  63. </executions>
  64. <configuration>
  65. <mainClass>com.yihu.jw.SvrDiscovery</mainClass>
  66. </configuration>
  67. </plugin>
  68. </plugins>
  69. </build>
  70. </project>