Bumped libs

fixes gh-1193
fixes gh-1194
fixes gh-1195
fixes gh-1196
fixes gh-1197
fixes gh-1198
This commit is contained in:
Marcin Grzejszczak
2019-09-04 08:56:52 +02:00
parent bd64cf82ae
commit 796103cb48
15 changed files with 21 additions and 17 deletions

View File

@@ -5,6 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<properties>
<dependency-management-plugin.version>1.0.8.RELEASE</dependency-management-plugin.version>
<plexus-archiver.version>4.1.0</plexus-archiver.version>
</properties>
<parent>
@@ -132,7 +133,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId>
<version>3.4</version>
<version>${plexus-archiver.version}</version>
</dependency>
</dependencies>
</plugin>

View File

@@ -26,7 +26,7 @@
<activemq.version>5.15.9</activemq.version>
<camel.version>2.24.1</camel.version>
<checkstyle.version>2.17</checkstyle.version>
<pact.version>3.6.7</pact.version>
<pact.version>3.6.12</pact.version>
<jsch-agent.version>0.0.9</jsch-agent.version>
<spring-cloud-build.version>2.2.0.BUILD-SNAPSHOT</spring-cloud-build.version>
<spring-cloud-zookeeper.version>2.2.0.BUILD-SNAPSHOT
@@ -54,7 +54,7 @@
<gmavenplus-plugin.version>1.6.3</gmavenplus-plugin.version>
<!-- We need to have compatibility with Gradle -->
<groovy.version>2.5.7</groovy.version>
<groovy.version>2.5.8</groovy.version>
<!-- For Takari plugin -->
<maven.version>3.3.9</maven.version>
<aether.version>1.1.0</aether.version>

View File

@@ -4,13 +4,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<org.eclipse.sisu.inject.version>0.1.1</org.eclipse.sisu.inject.version>
<org.eclipse.sisu.inject.version>0.3.3</org.eclipse.sisu.inject.version>
<org.eclipse.sisu.plexus.version>0.1.1</org.eclipse.sisu.plexus.version>
<sisu-guice.version>4.2.0</sisu-guice.version>
<guice.version>4.2.2</guice.version>
<guava.version>27.1-jre</guava.version>
<asm.version>7.1</asm.version>
<checker.version>2.8.2</checker.version>
<checker.version>2.11.0</checker.version>
<maven-shade-plugin.version>3.2.1</maven-shade-plugin.version>
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>

View File

@@ -39,7 +39,7 @@
</maven-project-info-reports-plugin.version>
<maven-plugin-annotations.version>3.5.2</maven-plugin-annotations.version>
<maven-archiver.version>3.4.0</maven-archiver.version>
<plexus-archiver.version>3.6.0</plexus-archiver.version>
<plexus-archiver.version>4.1.0</plexus-archiver.version>
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
<maven-site-plugin.version>3.7.1</maven-site-plugin.version>
<plexus-component-metadata.version>2.0.0</plexus-component-metadata.version>

View File

@@ -339,7 +339,7 @@ class PactContractConverterSpec extends Specification {
],
"metadata": {
"pact-jvm": {
"version": "3.6.7"
"version": "3.6.12"
}
}
}

View File

@@ -147,7 +147,7 @@
],
"metadata": {
"pact-jvm": {
"version": "3.6.7"
"version": "3.6.12"
}
}
}

View File

@@ -274,7 +274,7 @@
"version": "3.0.0"
},
"pact-jvm": {
"version": "3.6.7"
"version": "3.6.12"
}
}
}

View File

@@ -98,7 +98,7 @@
"version": "3.0.0"
},
"pact-jvm": {
"version": "3.6.7"
"version": "3.6.12"
}
}
}

View File

@@ -90,7 +90,7 @@
"version": "3.0.0"
},
"pact-jvm": {
"version": "3.6.7"
"version": "3.6.12"
}
}
}

View File

@@ -70,7 +70,7 @@
"version": "3.0.0"
},
"pact-jvm": {
"version": "3.6.7"
"version": "3.6.12"
}
}
}

View File

@@ -39,7 +39,7 @@
"version": "3.0.0"
},
"pact-jvm": {
"version": "3.6.7"
"version": "3.6.12"
}
}
}

View File

@@ -38,7 +38,7 @@
"version": "3.0.0"
},
"pact-jvm": {
"version": "3.6.7"
"version": "3.6.12"
}
}
}

View File

@@ -22,7 +22,7 @@
"version": "3.0.0"
},
"pact-jvm": {
"version": "3.6.7"
"version": "3.6.12"
}
}
}

View File

@@ -15,6 +15,7 @@
<description>Spring Cloud Contract Stub Runner Moco</description>
<properties>
<java.version>1.8</java.version>
<moco-runner.version>1.0.0</moco-runner.version>
</properties>
<dependencies>
<dependency>
@@ -24,7 +25,7 @@
<dependency>
<groupId>com.github.dreamhead</groupId>
<artifactId>moco-runner</artifactId>
<version>0.11.1</version>
<version>${moco-runner.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>

View File

@@ -19,12 +19,14 @@ package org.springframework.cloud.contract.stubrunner.provider.moco
import com.github.dreamhead.moco.bootstrap.arg.HttpArgs
import com.github.dreamhead.moco.runner.JsonRunner
import com.github.dreamhead.moco.runner.RunnerSetting
import groovy.transform.CompileStatic
import groovy.util.logging.Commons
import org.springframework.cloud.contract.stubrunner.HttpServerStub
import org.springframework.util.SocketUtils
@Commons
@CompileStatic
class MocoHttpServerStub implements HttpServerStub {
private boolean started
@@ -70,7 +72,7 @@ class MocoHttpServerStub implements HttpServerStub {
.collect {
log.info("Trying to parse [${it.name}]")
try {
return RunnerSetting.aRunnerSetting().withStream(it.newInputStream()).
return RunnerSetting.aRunnerSetting().addStream(it.newInputStream()).
build()
}
catch (Exception e) {