spring cloud 父类 pom.xml

来源:互联网 发布:ipadmini2越狱软件 编辑:程序博客网 时间:2024/05/08 20:38

上一篇少了父级pom.xml 这里追加一下~~~

<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">  <modelVersion>4.0.0</modelVersion>  <groupId>com.djl.springcloud</groupId>  <artifactId>spring-cloud-demo</artifactId>  <version>0.0.1-SNAPSHOT</version>  <packaging>pom</packaging>    <parent>        <groupId>org.springframework.boot</groupId>        <artifactId>spring-boot-starter-parent</artifactId>        <version>1.4.0.RELEASE</version>        <relativePath/> <!-- lookup parent from repository -->    </parent>  <distributionManagement>    <site>      <id>website</id>      <url>scp://webhost.company.com/www/website</url>    </site>  </distributionManagement>  <properties>    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>    <java.version>1.7</java.version>  </properties>  <dependencyManagement>    <dependencies>      <dependency>        <groupId>org.springframework.cloud</groupId>        <artifactId>spring-cloud-dependencies</artifactId>        <version>Brixton.SR5</version>        <type>pom</type>        <scope>import</scope>      </dependency>    </dependencies>  </dependencyManagement></project>  <modules>    <module>config-server</module>    <module>config-client</module>    <module>eureka-server</module>    <module>gateway-zuul</module>    <module>eureka-client</module>    <module>ms-provider-user</module>  </modules></project>