<description> 描述 畅购商城为父工程</description>
<skipTests>true</skipTests> 跳过测试
<packaging>pom</packaging> 所有父工程的打包 pom包
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
</dependency>
</dependencies>
dependencies 依赖包
application.yml 注册中心配置文件
springname yml服务的名字
@SpringBootApplication @EnableEurekaServer //开启eureka服务
SpringApplication.run(那个.class,args); 运行springapplication作为容器