accurest update (#27)

This commit is contained in:
Mariusz Smykuła
2016-06-02 22:57:35 +02:00
parent 1f6316df63
commit 56222186fc
6 changed files with 11 additions and 14 deletions

View File

@@ -36,7 +36,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<accurest.version>1.1.0-M6</accurest.version>
<accurest.version>1.1.0-M8</accurest.version>
<aether.version>1.1.0</aether.version>
<maven.compiler.source>1.7</maven.compiler.source>
@@ -291,12 +291,7 @@
<version>${aether.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.toomuchcoding.jsonassert</groupId>
<artifactId>jsonassert</artifactId>
<version>0.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-filtering</artifactId>

View File

@@ -74,7 +74,9 @@ class RunMojo extends AbstractMojo {
StubRunner stubRunner = localStubRunner.run(resolveStubsDirectory().absolutePath, options)
batchStubRunner = new BatchStubRunner(Arrays.asList(stubRunner))
} else {
StubRunnerOptions options = optionsBuilder.withMinMaxPort(minPort, maxPort).build()
StubRunnerOptions options = optionsBuilder
.withStubs(stubs)
.withMinMaxPort(minPort, maxPort).build()
batchStubRunner = remoteStubRunner.run(options, repoSession)
}

View File

@@ -45,7 +45,7 @@
<dependency>
<groupId>com.toomuchcoding.jsonassert</groupId>
<artifactId>jsonassert</artifactId>
<version>0.4.1</version>
<version>0.4.6</version>
<scope>test</scope>
</dependency>
<dependency>

View File

@@ -45,13 +45,13 @@
<dependency>
<groupId>com.toomuchcoding.jsonassert</groupId>
<artifactId>jsonassert</artifactId>
<version>0.4.1</version>
<version>0.4.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>2.4.0</version>
<version>2.4.1</version>
<scope>test</scope>
</dependency>
<!-- end::dependencies[] -->

View File

@@ -46,7 +46,7 @@
<dependency>
<groupId>com.toomuchcoding.jsonassert</groupId>
<artifactId>jsonassert</artifactId>
<version>0.4.1</version>
<version>0.4.6</version>
<scope>test</scope>
</dependency>
<!-- end::dependencies[] -->

View File

@@ -45,13 +45,13 @@
<dependency>
<groupId>com.toomuchcoding.jsonassert</groupId>
<artifactId>jsonassert</artifactId>
<version>0.4.1</version>
<version>0.4.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>2.4.0</version>
<version>2.4.1</version>
<scope>test</scope>
</dependency>
<!-- end::dependencies[] -->