From 56222186fc00a6f0b96ef97c03bd5c6e5748654c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20Smyku=C5=82a?= Date: Thu, 2 Jun 2016 22:57:35 +0200 Subject: [PATCH] accurest update (#27) --- pom.xml | 9 ++------- .../groovy/io/codearte/accurest/maven/RunMojo.groovy | 4 +++- src/test/projects/complex-configuration/pom.xml | 2 +- src/test/projects/plugin-extension/pom.xml | 4 ++-- src/test/projects/spring-boot-groovy/pom.xml | 2 +- src/test/projects/spring-boot-java/pom.xml | 4 ++-- 6 files changed, 11 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index 193e31cdbe..f9ac7d2891 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ UTF-8 UTF-8 - 1.1.0-M6 + 1.1.0-M8 1.1.0 1.7 @@ -291,12 +291,7 @@ ${aether.version} provided - - com.toomuchcoding.jsonassert - jsonassert - 0.3.0 - test - + org.apache.maven.shared maven-filtering diff --git a/src/main/groovy/io/codearte/accurest/maven/RunMojo.groovy b/src/main/groovy/io/codearte/accurest/maven/RunMojo.groovy index 14c6d710b6..cfa0248e5d 100644 --- a/src/main/groovy/io/codearte/accurest/maven/RunMojo.groovy +++ b/src/main/groovy/io/codearte/accurest/maven/RunMojo.groovy @@ -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) } diff --git a/src/test/projects/complex-configuration/pom.xml b/src/test/projects/complex-configuration/pom.xml index a96596d6df..2561e2254c 100644 --- a/src/test/projects/complex-configuration/pom.xml +++ b/src/test/projects/complex-configuration/pom.xml @@ -45,7 +45,7 @@ com.toomuchcoding.jsonassert jsonassert - 0.4.1 + 0.4.6 test diff --git a/src/test/projects/plugin-extension/pom.xml b/src/test/projects/plugin-extension/pom.xml index cebe6bce3e..647e9b5dae 100644 --- a/src/test/projects/plugin-extension/pom.xml +++ b/src/test/projects/plugin-extension/pom.xml @@ -45,13 +45,13 @@ com.toomuchcoding.jsonassert jsonassert - 0.4.1 + 0.4.6 test org.assertj assertj-core - 2.4.0 + 2.4.1 test diff --git a/src/test/projects/spring-boot-groovy/pom.xml b/src/test/projects/spring-boot-groovy/pom.xml index fcc5045b80..e4a1112ff9 100644 --- a/src/test/projects/spring-boot-groovy/pom.xml +++ b/src/test/projects/spring-boot-groovy/pom.xml @@ -46,7 +46,7 @@ com.toomuchcoding.jsonassert jsonassert - 0.4.1 + 0.4.6 test diff --git a/src/test/projects/spring-boot-java/pom.xml b/src/test/projects/spring-boot-java/pom.xml index ecda0561c2..e9562a557a 100644 --- a/src/test/projects/spring-boot-java/pom.xml +++ b/src/test/projects/spring-boot-java/pom.xml @@ -45,13 +45,13 @@ com.toomuchcoding.jsonassert jsonassert - 0.4.1 + 0.4.6 test org.assertj assertj-core - 2.4.0 + 2.4.1 test