diff --git a/samples/pom.xml b/samples/pom.xml
index d1c3a9012e..ef760e0bd9 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -29,6 +29,24 @@
+
+
+ org.springframework.cloud
+ spring-cloud-contract-stub-runner
+ test
+
+
+ org.springframework.cloud
+ spring-cloud-contract-maven-plugin
+ test
+
+
+ org.springframework.cloud
+ spring-cloud-contract-gradle-plugin
+ test
+
+
+
diff --git a/scripts/parallelBuild.sh b/scripts/parallelBuild.sh
index 8942800822..8ee774cbb2 100755
--- a/scripts/parallelBuild.sh
+++ b/scripts/parallelBuild.sh
@@ -4,7 +4,7 @@ source common.sh || source scripts/common.sh || echo "No common.sh script found.
set -e
-[[ -z "${CORES}" ]] && CORES=8
+[[ -z "${CORES}" ]] && CORES=4
echo -e "\n\nRUNNING PARALLEL BUILD WITH [${CORES}] CORES\n\n"
-./mvnw clean install -Pdocs -T ${CORES} && ./mvnw install -Pintegration -T ${CORES} -Dinvoker.parallelThreads=${CORES} -pl :spring-cloud-contract-samples
\ No newline at end of file
+./mvnw clean install -Pdocs,integration -T ${CORES} -Dinvoker.parallelThreads=${CORES}
\ No newline at end of file
diff --git a/spring-cloud-contract-dependencies/pom.xml b/spring-cloud-contract-dependencies/pom.xml
index ed38eb15f0..63c33c9152 100644
--- a/spring-cloud-contract-dependencies/pom.xml
+++ b/spring-cloud-contract-dependencies/pom.xml
@@ -65,6 +65,16 @@
spring-cloud-starter-contract-stub-runner-jetty
${project.version}
+
+ org.springframework.cloud
+ spring-cloud-contract-maven-plugin
+ ${project.version}
+
+
+ org.springframework.cloud
+ spring-cloud-contract-gradle-plugin
+ ${project.version}
+
com.github.tomakehurst
wiremock