You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
3.9 KiB
131 lines
3.9 KiB
10 years ago
|
<?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>
|
||
|
<artifactId>spring-cloud-netflix-eureka-server</artifactId>
|
||
|
<name>Spring Cloud Netflix Eureka Server</name>
|
||
|
<url>http://projects.spring.io/spring-cloud/</url>
|
||
|
<parent>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-netflix</artifactId>
|
||
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||
|
<relativePath>..</relativePath>
|
||
|
</parent>
|
||
|
|
||
|
<properties>
|
||
|
<spring-cloud.version>1.0.0.BUILD-SNAPSHOT</spring-cloud.version>
|
||
|
<wro4j.version>1.7.6</wro4j.version>
|
||
|
</properties>
|
||
|
|
||
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starters</artifactId>
|
||
|
<version>${spring-cloud.version}</version>
|
||
|
<type>pom</type>
|
||
|
<scope>import</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>spring-boot-starter-logging</artifactId>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-log4j</artifactId>
|
||
|
<scope>runtime</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>spring-boot-starter-logging</artifactId>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-netflix-core</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.netflix.eureka</groupId>
|
||
|
<artifactId>eureka-client</artifactId>
|
||
|
<scope>runtime</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.sun.jersey</groupId>
|
||
|
<artifactId>jersey-servlet</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.sun.jersey</groupId>
|
||
|
<artifactId>jersey-server</artifactId>
|
||
|
<scope>runtime</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.netflix.eureka</groupId>
|
||
|
<artifactId>eureka-core</artifactId>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.webjars</groupId>
|
||
|
<artifactId>jquery</artifactId>
|
||
|
<scope>runtime</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.webjars</groupId>
|
||
|
<artifactId>bootstrap</artifactId>
|
||
|
<scope>runtime</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>target/generated-resources</directory>
|
||
|
</resource>
|
||
|
<resource>
|
||
|
<directory>src/main/resources</directory>
|
||
|
<excludes>
|
||
|
<exclude>wro/**</exclude>
|
||
|
</excludes>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>ro.isdc.wro4j</groupId>
|
||
|
<artifactId>wro4j-maven-plugin</artifactId>
|
||
|
<version>${wro4j.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>generate-resources</phase>
|
||
|
<goals>
|
||
|
<goal>run</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
<configuration>
|
||
|
<wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
|
||
|
<destinationFolder>${basedir}/target/generated-resources/static/eureka/</destinationFolder>
|
||
|
<wroFile>${basedir}/src/main/resources/wro/wro.xml</wroFile>
|
||
|
<extraConfigFile>${basedir}/src/main/resources/wro/wro.properties</extraConfigFile>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|