120 lines
4.5 KiB
XML
120 lines
4.5 KiB
XML
<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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>hystrix</artifactId>
|
|
<version>1.0</version>
|
|
<name>hystrix</name>
|
|
|
|
<parent>
|
|
<artifactId>parent-boot-4</artifactId>
|
|
<groupId>com.baeldung</groupId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<relativePath>../parent-boot-4</relativePath>
|
|
</parent>
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- Hystrix -->
|
|
<hystrix-core.version>1.5.8</hystrix-core.version>
|
|
<rxjava-core.version>0.20.7</rxjava-core.version>
|
|
|
|
<!-- Testing -->
|
|
<hamcrest-all.version>1.3</hamcrest-all.version>
|
|
|
|
<!-- maven plugins -->
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
|
<maven-resources-plugin.version>2.7</maven-resources-plugin.version>
|
|
<hystrix-metrics-event-stream.version>1.5.8</hystrix-metrics-event-stream.version>
|
|
<hystrix-dashboard.version>1.5.8</hystrix-dashboard.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.hystrix</groupId>
|
|
<artifactId>hystrix-core</artifactId>
|
|
<version>${hystrix-core.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-logging</artifactId>
|
|
<groupId>commons-logging</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.hystrix</groupId>
|
|
<artifactId>hystrix-metrics-event-stream</artifactId>
|
|
<version>${hystrix-metrics-event-stream.version}</version>
|
|
</dependency>
|
|
<!--<dependency> <groupId>com.netflix.hystrix</groupId> <artifactId>hystrix-dashboard</artifactId>
|
|
<version>${hystrix-dashboard.version}</version> </dependency> -->
|
|
<dependency>
|
|
<groupId>com.netflix.rxjava</groupId>
|
|
<artifactId>rxjava-core</artifactId>
|
|
<version>${rxjava-core.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
<version>${hamcrest-all.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>integration</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>integration-test</phase>
|
|
<goals>
|
|
<goal>test</goal>
|
|
</goals>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
</excludes>
|
|
<includes>
|
|
<include>**/*IntegrationTest.java</include>
|
|
</includes>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<test.mime>json</test.mime>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|