Advertisement
Javi

spring cloud: pom config server

Jun 22nd, 2015
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.16 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.  
  6.     <groupId>com.javiermoreno.springcloud</groupId>
  7.     <artifactId>configserver</artifactId>
  8.     <version>0.0.1-SNAPSHOT</version>
  9.     <packaging>jar</packaging>
  10.  
  11.     <name>02-DistributedConfigServer</name>
  12.     <description>Crea un servicio de configuración distribuído basado en git</description>
  13.     <parent>
  14.         <groupId>org.springframework.boot</groupId>
  15.         <artifactId>spring-boot-starter-parent</artifactId>
  16.         <version>1.2.3.RELEASE</version>
  17.         <relativePath /> <!-- lookup parent from repository -->
  18.     </parent>
  19.     <properties>
  20.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21.         <java.version>1.8</java.version>
  22.     </properties>
  23.  
  24.  
  25.     <dependencyManagement>
  26.         <dependencies>
  27.             <dependency>
  28.                 <groupId>org.springframework.cloud</groupId>
  29.                 <artifactId>spring-cloud-starter-parent</artifactId>
  30.                 <version>1.0.3.BUILD-SNAPSHOT</version>
  31.                 <type>pom</type>
  32.                 <scope>import</scope>
  33.             </dependency>
  34.         </dependencies>
  35.     </dependencyManagement>
  36.     <dependencies>
  37.         <dependency>
  38.             <groupId>org.springframework.cloud</groupId>
  39.             <artifactId>spring-cloud-config-server</artifactId>
  40.         </dependency>
  41.         <dependency>
  42.             <groupId>org.springframework.boot</groupId>
  43.             <artifactId>spring-boot-starter-test</artifactId>
  44.             <scope>test</scope>
  45.         </dependency>
  46.     </dependencies>
  47.        
  48.     <build>
  49.         <plugins>
  50.             <plugin>
  51.                 <groupId>org.springframework.boot</groupId>
  52.                 <artifactId>spring-boot-maven-plugin</artifactId>
  53.             </plugin>
  54.             <plugin>
  55.                 <artifactId>maven-surefire-plugin</artifactId>
  56.                 <configuration>
  57.                     <skipTests>true</skipTests>
  58.                 </configuration>
  59.             </plugin>        
  60.         </plugins>
  61.     </build>
  62.    
  63.     <repositories>
  64.         <repository>
  65.             <id>spring-snapshots</id>
  66.             <name>Spring Snapshots</name>
  67.             <url>http://repo.spring.io/libs-snapshot-local</url>
  68.             <snapshots>
  69.                 <enabled>true</enabled>
  70.             </snapshots>
  71.         </repository>
  72.         <repository>
  73.             <id>spring-milestones</id>
  74.             <name>Spring Milestones</name>
  75.             <url>http://repo.spring.io/libs-milestone-local</url>
  76.             <snapshots>
  77.                 <enabled>false</enabled>
  78.             </snapshots>
  79.         </repository>
  80.         <repository>
  81.             <id>spring-releases</id>
  82.             <name>Spring Releases</name>
  83.             <url>http://repo.spring.io/libs-release-local</url>
  84.             <snapshots>
  85.                 <enabled>false</enabled>
  86.             </snapshots>
  87.         </repository>
  88.     </repositories>
  89.  
  90. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement