From 256a61d23df9c8835c204188dd85fa17a1b7b046 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Thu, 28 Jul 2016 15:10:06 +0100 Subject: [PATCH] Run standalone tests in 'integration' profile --- samples/pom.xml | 33 +++++++++++++++++++++++ samples/src/it/settings.xml | 41 +++++++++++++++++++++++++++++ samples/standalone/dsl/pom.xml | 18 +------------ samples/standalone/restdocs/pom.xml | 18 +------------ 4 files changed, 76 insertions(+), 34 deletions(-) create mode 100644 samples/src/it/settings.xml diff --git a/samples/pom.xml b/samples/pom.xml index 2af692e62a..67a346ca9d 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -16,6 +16,10 @@ Spring Cloud Contract Samples Spring Cloud Contract Samples + + ${basedir}/.. + + wiremock-native wiremock-jetty @@ -32,6 +36,35 @@ true + + + org.apache.maven.plugins + maven-invoker-plugin + false + + src/it/settings.xml + standalone + ${skipTests} + true + + integration + + + */pom.xml + + + + + integration + install + + install + run + + + + diff --git a/samples/src/it/settings.xml b/samples/src/it/settings.xml new file mode 100644 index 0000000000..5329c60576 --- /dev/null +++ b/samples/src/it/settings.xml @@ -0,0 +1,41 @@ + + + + + integration + + true + + + + it-repo + + true + + + + local.central + @localRepositoryUrl@ + + true + + + true + + + + + + local.central + @localRepositoryUrl@ + + true + + + true + + + + + + diff --git a/samples/standalone/dsl/pom.xml b/samples/standalone/dsl/pom.xml index 345fdd2052..a953d39434 100644 --- a/samples/standalone/dsl/pom.xml +++ b/samples/standalone/dsl/pom.xml @@ -13,7 +13,7 @@ spring-cloud-contract-samples-dsl pom - Spring Cloud Contract Standalone Test Samples + Spring Cloud Contract Standalone Dsl Test Samples Spring Cloud Contract Standalone Test Samples used for end to end tests @@ -30,22 +30,6 @@ - - - - org.codehaus.gmavenplus - gmavenplus-plugin - 1.5 - - - - testCompile - - - - - - diff --git a/samples/standalone/restdocs/pom.xml b/samples/standalone/restdocs/pom.xml index ba2ef14b3b..4b7f372b47 100644 --- a/samples/standalone/restdocs/pom.xml +++ b/samples/standalone/restdocs/pom.xml @@ -13,7 +13,7 @@ spring-cloud-contract-samples-restdocs pom - Spring Cloud Contract Standalone Test Samples + Spring Cloud Contract Standalone Restdocs Test Samples Spring Cloud Contract Standalone Test Samples used for end to end tests @@ -30,22 +30,6 @@ - - - - org.codehaus.gmavenplus - gmavenplus-plugin - 1.5 - - - - testCompile - - - - - -