2016-07-25 14:45:16 -04:00
|
|
|
<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>
|
|
|
|
|
2016-08-07 22:11:59 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2017-02-10 03:13:14 -05:00
|
|
|
<version>1.4.4.RELEASE</version>
|
2016-08-07 22:11:59 -04:00
|
|
|
</parent>
|
|
|
|
|
2016-08-15 17:48:27 -04:00
|
|
|
|
2016-07-25 14:45:16 -04:00
|
|
|
<properties>
|
|
|
|
|
|
|
|
<!-- General -->
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
|
|
|
<!-- Hystrix -->
|
2016-12-12 08:16:56 -05:00
|
|
|
<hystrix-core.version>1.5.8</hystrix-core.version>
|
2016-07-25 14:45:16 -04:00
|
|
|
<rxjava-core.version>0.20.7</rxjava-core.version>
|
|
|
|
|
|
|
|
<!-- Testing -->
|
|
|
|
<hamcrest-all.version>1.3</hamcrest-all.version>
|
|
|
|
<junit.version>4.12</junit.version>
|
|
|
|
|
|
|
|
<!-- maven plugins -->
|
2016-12-12 08:16:56 -05:00
|
|
|
<maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
|
2016-07-25 14:45:16 -04:00
|
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
|
|
|
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
|
|
|
<maven-resources-plugin.version>2.7</maven-resources-plugin.version>
|
2016-12-12 08:16:56 -05:00
|
|
|
<hystrix-metrics-event-stream.version>1.5.8</hystrix-metrics-event-stream.version>
|
|
|
|
<hystrix-dashboard.version>1.5.8</hystrix-dashboard.version>
|
|
|
|
<spring-boot-starter-test.version>1.4.2.RELEASE</spring-boot-starter-test.version>
|
2016-07-25 14:45:16 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2016-08-15 17:48:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-08-07 22:11:59 -04:00
|
|
|
<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>
|
2016-07-25 14:45:16 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.netflix.hystrix</groupId>
|
|
|
|
<artifactId>hystrix-core</artifactId>
|
|
|
|
<version>${hystrix-core.version}</version>
|
2017-04-19 10:14:10 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2016-07-25 14:45:16 -04:00
|
|
|
</dependency>
|
2016-08-07 22:11:59 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.netflix.hystrix</groupId>
|
|
|
|
<artifactId>hystrix-metrics-event-stream</artifactId>
|
2016-08-15 17:48:27 -04:00
|
|
|
<version>${hystrix-metrics-event-stream.version}</version>
|
2016-08-07 22:11:59 -04:00
|
|
|
</dependency>
|
2016-08-21 09:03:36 -04:00
|
|
|
<!--<dependency>
|
2016-08-07 22:11:59 -04:00
|
|
|
<groupId>com.netflix.hystrix</groupId>
|
|
|
|
<artifactId>hystrix-dashboard</artifactId>
|
2016-08-15 17:48:27 -04:00
|
|
|
<version>${hystrix-dashboard.version}</version>
|
2016-08-21 09:03:36 -04:00
|
|
|
</dependency>-->
|
2016-07-25 14:45:16 -04:00
|
|
|
<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>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-08-15 17:48:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<version>${spring-boot-starter-test.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-07-25 14:45:16 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2016-08-07 22:11:59 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2016-07-25 14:45:16 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-10-22 11:07:54 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-07-25 14:45:16 -04:00
|
|
|
</plugins>
|
2016-10-22 11:07:54 -04:00
|
|
|
</build>
|
|
|
|
|
|
|
|
<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>
|
2016-07-25 14:45:16 -04:00
|
|
|
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|