Fix spring cloud contract test to use a defined stub version

Rather than attempting to retrieve the latest version of the stubs, this
commit makes sure the test uses the same version as the one of the
project.

This fixes gh-422 in a different way
This commit is contained in:
Stephane Nicoll
2017-05-08 12:42:32 +02:00
parent f2089800b2
commit 66dad39188
3 changed files with 51 additions and 61 deletions

View File

@@ -53,6 +53,15 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<project.version>${project.version}</project.version>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
<profiles>