当前位置:   article > 正文

springcloud-eureka的pom.xml文件_eureka server pom.xml

eureka server pom.xml
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.ysd</groupId>
  5. <artifactId>springcloud-eureka</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8. <name>springcloud-eureka</name>
  9. <url>https://repo.spring.io/milestone</url>
  10. <description>MS:SpringCloud Eureka 注册中心</description>
  11. <!-- SpringBoot 项目 统一 父依赖 -->
  12. <parent>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-parent</artifactId>
  15. <version>1.5.2.RELEASE</version>
  16. <relativePath />
  17. </parent>
  18. <!-- 项目属性配置信息 -->
  19. <properties>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  22. <java.version>1.8</java.version>
  23. </properties>
  24. <dependencies>
  25. <!-- SpringCloud Eureka 注册中心依赖 -->
  26. <dependency>
  27. <groupId>org.springframework.cloud</groupId>
  28. <artifactId>spring-cloud-starter-eureka-server</artifactId>
  29. </dependency>
  30. <!-- SpringBoot Test 测试框架 依赖 -->
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-test</artifactId>
  34. <scope>test</scope>
  35. </dependency>
  36. </dependencies>
  37. <!-- SpringCloud 所有子项目 版本集中管理.MS:统一所有SpringCloud依赖项目的版本 依赖-->
  38. <dependencyManagement>
  39. <dependencies>
  40. <dependency>
  41. <groupId>org.springframework.cloud</groupId>
  42. <artifactId>spring-cloud-dependencies</artifactId>
  43. <version>Dalston.RC1</version>
  44. <type>pom</type>
  45. <scope>import</scope>
  46. </dependency>
  47. </dependencies>
  48. </dependencyManagement>
  49. <build>
  50. <plugins>
  51. <!-- SpringBoot 项目打jar包的Maven插件 -->
  52. <plugin>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-maven-plugin</artifactId>
  55. </plugin>
  56. </plugins>
  57. <!-- SpringBoot项目打包jar名称 -->
  58. <finalName>eureka</finalName>
  59. </build>
  60. <!-- SpringCloud 官方远程仓库.MS:部分本地仓库和镜像仓库没有SpringCloud子项目依赖。 -->
  61. <repositories>
  62. <repository>
  63. <id>spring-milestones</id>
  64. <name>Spring Milestones</name>
  65. <url>https://repo.spring.io/milestone</url>
  66. <snapshots>
  67. <enabled>false</enabled>
  68. </snapshots>
  69. </repository>
  70. </repositories>
  71. </project>

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/煮酒与君饮/article/detail/918936
推荐阅读
相关标签
  

闽ICP备14008679号