From d0aa2fb3c751bb70e8aa85d8bc4fc7b0c4ffce0d Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Mon, 25 Jul 2016 13:16:33 +0200 Subject: [PATCH] Sync docs from master to gh-pages --- .../complex-content.html | 66 +--- .../complex.html | 66 +--- spring-cloud-contract-maven-plugin/index.html | 157 +--------- spring-cloud-contract-maven-plugin/junit.html | 66 +--- .../sitemap.html | 109 +------ spring-cloud-contract-maven-plugin/spock.html | 66 +--- spring-cloud-contract-maven-plugin/usage.html | 66 +--- spring-cloud-contract.html | 289 ++++++++---------- 8 files changed, 144 insertions(+), 741 deletions(-) diff --git a/spring-cloud-contract-maven-plugin/complex-content.html b/spring-cloud-contract-maven-plugin/complex-content.html index 743854f4c1..b01f801775 100644 --- a/spring-cloud-contract-maven-plugin/complex-content.html +++ b/spring-cloud-contract-maven-plugin/complex-content.html @@ -1,13 +1,13 @@ - + Spring Cloud Contract Verifier Maven Plugin – @@ -75,51 +75,6 @@
  • Spring Cloud Contract
  • - - @@ -149,7 +104,7 @@ diff --git a/spring-cloud-contract-maven-plugin/spock.html b/spring-cloud-contract-maven-plugin/spock.html index 8fa408c66e..218e710d4f 100644 --- a/spring-cloud-contract-maven-plugin/spock.html +++ b/spring-cloud-contract-maven-plugin/spock.html @@ -1,13 +1,13 @@ - + Spring Cloud Contract Verifier Maven Plugin – @@ -75,51 +75,6 @@
  • Spring Cloud Contract
  • - - @@ -149,7 +104,7 @@
    -
    Snapshot versions for Maven
    -
    -

    For Snapshot / Milestone versions you have to add the following section to your pom.xml

    -
    -
    -
    -
    <repositories>
    -    <repository>
    -        <id>spring-snapshots</id>
    -        <name>Spring Snapshots</name>
    -        <url>http://repo.spring.io/libs-snapshot-local</url>
    -        <snapshots>
    -            <enabled>true</enabled>
    -        </snapshots>
    -    </repository>
    -    <repository>
    -        <id>spring-milestones</id>
    -        <name>Spring Milestones</name>
    -        <url>http://repo.spring.io/libs-milestone-local</url>
    -        <snapshots>
    -            <enabled>false</enabled>
    -        </snapshots>
    -    </repository>
    -    <repository>
    -        <id>spring-releases</id>
    -        <name>Spring Releases</name>
    -        <url>http://repo.spring.io/release</url>
    -        <snapshots>
    -            <enabled>false</enabled>
    -        </snapshots>
    -    </repository>
    -    </repositories>
    -    <pluginRepositories>
    -    <pluginRepository>
    -        <id>spring-snapshots</id>
    -        <name>Spring Snapshots</name>
    -        <url>http://repo.spring.io/libs-snapshot-local</url>
    -        <snapshots>
    -            <enabled>true</enabled>
    -        </snapshots>
    -    </pluginRepository>
    -    <pluginRepository>
    -        <id>spring-milestones</id>
    -        <name>Spring Milestones</name>
    -        <url>http://repo.spring.io/libs-milestone-local</url>
    -        <snapshots>
    -            <enabled>false</enabled>
    -        </snapshots>
    -    </pluginRepository>
    -    <pluginRepository>
    -        <id>spring-plugin-snapshots</id>
    -        <name>Spring Snapshots</name>
    -        <url>http://repo.spring.io/plugins-snapshot-local</url>
    -        <snapshots>
    -            <enabled>true</enabled>
    -        </snapshots>
    -    </pluginRepository>
    -    <pluginRepository>
    -        <id>spring-plugin-milestones</id>
    -        <name>Spring Milestones</name>
    -        <url>http://repo.spring.io/plugins-milestone-local</url>
    -        <snapshots>
    -            <enabled>false</enabled>
    -        </snapshots>
    -    </pluginRepository>
    -</pluginRepositories>
    -
    -
    -
    -
    Add stubs

    By default Spring Cloud Contract Verifier is looking for stubs in src/test/resources/contracts directory.

    @@ -2842,71 +2775,63 @@ class LoanApplicationServiceSpec extends Specification {

    You can read more in the Spring Cloud Contract Maven Plugin Docs

    -
    Snapshot versions
    +
    Snapshot versions for Maven

    For Snapshot / Milestone versions you have to add the following section to your pom.xml

    <repositories>
    -    <repository>
    -        <id>spring-snapshots</id>
    -        <name>Spring Snapshots</name>
    -        <url>http://repo.spring.io/libs-snapshot-local</url>
    -        <snapshots>
    -            <enabled>true</enabled>
    -        </snapshots>
    -    </repository>
    -    <repository>
    -        <id>spring-milestones</id>
    -        <name>Spring Milestones</name>
    -        <url>http://repo.spring.io/libs-milestone-local</url>
    -        <snapshots>
    -            <enabled>false</enabled>
    -        </snapshots>
    -    </repository>
    -    <repository>
    -        <id>spring-releases</id>
    -        <name>Spring Releases</name>
    -        <url>http://repo.spring.io/release</url>
    -        <snapshots>
    -            <enabled>false</enabled>
    -        </snapshots>
    -    </repository>
    -    </repositories>
    -    <pluginRepositories>
    -    <pluginRepository>
    -        <id>spring-snapshots</id>
    -        <name>Spring Snapshots</name>
    -        <url>http://repo.spring.io/libs-snapshot-local</url>
    -        <snapshots>
    -            <enabled>true</enabled>
    -        </snapshots>
    -    </pluginRepository>
    -    <pluginRepository>
    -        <id>spring-milestones</id>
    -        <name>Spring Milestones</name>
    -        <url>http://repo.spring.io/libs-milestone-local</url>
    -        <snapshots>
    -            <enabled>false</enabled>
    -        </snapshots>
    -    </pluginRepository>
    -    <pluginRepository>
    -        <id>spring-plugin-snapshots</id>
    -        <name>Spring Snapshots</name>
    -        <url>http://repo.spring.io/plugins-snapshot-local</url>
    -        <snapshots>
    -            <enabled>true</enabled>
    -        </snapshots>
    -    </pluginRepository>
    -    <pluginRepository>
    -        <id>spring-plugin-milestones</id>
    -        <name>Spring Milestones</name>
    -        <url>http://repo.spring.io/plugins-milestone-local</url>
    -        <snapshots>
    -            <enabled>false</enabled>
    -        </snapshots>
    -    </pluginRepository>
    +	<repository>
    +		<id>spring-snapshots</id>
    +		<name>Spring Snapshots</name>
    +		<url>http://repo.spring.io/snapshot</url>
    +		<snapshots>
    +			<enabled>true</enabled>
    +		</snapshots>
    +	</repository>
    +	<repository>
    +		<id>spring-milestones</id>
    +		<name>Spring Milestones</name>
    +		<url>http://repo.spring.io/milestone</url>
    +		<snapshots>
    +			<enabled>false</enabled>
    +		</snapshots>
    +	</repository>
    +	<repository>
    +		<id>spring-releases</id>
    +		<name>Spring Releases</name>
    +		<url>http://repo.spring.io/release</url>
    +		<snapshots>
    +			<enabled>false</enabled>
    +		</snapshots>
    +	</repository>
    +</repositories>
    +<pluginRepositories>
    +	<pluginRepository>
    +		<id>spring-snapshots</id>
    +		<name>Spring Snapshots</name>
    +		<url>http://repo.spring.io/snapshot</url>
    +		<snapshots>
    +			<enabled>true</enabled>
    +		</snapshots>
    +	</pluginRepository>
    +	<pluginRepository>
    +		<id>spring-milestones</id>
    +		<name>Spring Milestones</name>
    +		<url>http://repo.spring.io/milestone</url>
    +		<snapshots>
    +			<enabled>false</enabled>
    +		</snapshots>
    +	</pluginRepository>
    +	<pluginRepository>
    +		<id>spring-releases</id>
    +		<name>Spring Releases</name>
    +		<url>http://repo.spring.io/release</url>
    +		<snapshots>
    +			<enabled>false</enabled>
    +		</snapshots>
    +	</pluginRepository>
     </pluginRepositories>
    @@ -3537,16 +3462,20 @@ publishing { automatically for you.

    -

    Snapshot versions

    +

    Snapshot versions

    Add the additional snapshot repository to your build.gradle to use snapshot versions which are automatically uploaded after every successful build:

    -
    repositories {
    -    (...)
    -    //Required only for SNAPSHOT versions
    -    maven { url "https://repo.spring.io/libs-snapshot-local" }
    +
    buildscript {
    +	repositories {
    +		mavenCentral()
    +		mavenLocal()
    +		maven { url "http://repo.spring.io/snapshot" }
    +		maven { url "http://repo.spring.io/milestone" }
    +		maven { url "http://repo.spring.io/release" }
    +	}
     }
    @@ -3556,31 +3485,57 @@ automatically for you.

    <repositories>
    -    <repository>
    -        <id>spring-snapshots</id>
    -        <name>Spring Snapshots</name>
    -        <url>http://repo.spring.io/libs-snapshot-local</url>
    -        <snapshots>
    -            <enabled>true</enabled>
    -        </snapshots>
    -    </repository>
    -    <repository>
    -        <id>spring-milestones</id>
    -        <name>Spring Milestones</name>
    -        <url>http://repo.spring.io/libs-milestone-local</url>
    -        <snapshots>
    -            <enabled>false</enabled>
    -        </snapshots>
    -    </repository>
    -    <repository>
    -        <id>spring-releases</id>
    -        <name>Spring Releases</name>
    -        <url>http://repo.spring.io/release</url>
    -        <snapshots>
    -            <enabled>false</enabled>
    -        </snapshots>
    -    </repository>
    -</repositories>
    + <repository> + <id>spring-snapshots</id> + <name>Spring Snapshots</name> + <url>http://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + <repository> + <id>spring-milestones</id> + <name>Spring Milestones</name> + <url>http://repo.spring.io/milestone</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + <repository> + <id>spring-releases</id> + <name>Spring Releases</name> + <url>http://repo.spring.io/release</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> +</repositories> +<pluginRepositories> + <pluginRepository> + <id>spring-snapshots</id> + <name>Spring Snapshots</name> + <url>http://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + <pluginRepository> + <id>spring-milestones</id> + <name>Spring Milestones</name> + <url>http://repo.spring.io/milestone</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + </pluginRepository> + <pluginRepository> + <id>spring-releases</id> + <name>Spring Releases</name> + <url>http://repo.spring.io/release</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + </pluginRepository> +</pluginRepositories>
    @@ -5142,7 +5097,7 @@ Spring Boot container if there is one.