diff --git a/1.0.x/spring-cloud-contract-maven-plugin/checkstyle.html b/1.0.x/spring-cloud-contract-maven-plugin/checkstyle.html new file mode 100644 index 0000000000..73eb24d3ed --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/checkstyle.html @@ -0,0 +1,326 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – Checkstyle Results + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
+ + + + + +
+
+ +
+ + +
+ +
+

Checkstyle Results

+

The following document contains the results of Checkstyle 6.11.2 with checkstyle.xml ruleset. rss feed

+
+

Summary

+ + + + + + + + + + +
Files Info Warnings Errors
11000
+
+

Files

+ + + + + +
File I W E
+
+

Rules

+ + + + + +
CategoryRuleViolationsSeverity
+
+

Details

+
+
+
+ +
+ + + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/checkstyle.rss b/1.0.x/spring-cloud-contract-maven-plugin/checkstyle.rss new file mode 100644 index 0000000000..7758168dff --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/checkstyle.rss @@ -0,0 +1,208 @@ + + + + + Spring Cloud Contract Maven Plugin - Checkstyle report + https://github.com/spring-cloud/spring-cloud-contract + Spring Cloud Contract Maven Plugin - Checkstyle report + en-us + ©2016 - 2017 Spring + + File: 11, + Errors: 0, + Warnings: 0, + Infos: 0 + + https://github.com/spring-cloud/spring-cloud-contract/checkstyle.html + +

Click here for the full Checkstyle report.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FilesIWE
+ org/springframework/cloud/contract/maven/verifier/MavenContractsDownloader.java + + 0 + + 0 + + 0 +
+ org/springframework/cloud/contract/maven/verifier/GenerateTestsMojo.java + + 0 + + 0 + + 0 +
+ org/springframework/cloud/contract/maven/verifier/GenerateStubsMojo.java + + 0 + + 0 + + 0 +
+ org/springframework/cloud/contract/maven/verifier/BaseClassMapping.java + + 0 + + 0 + + 0 +
+ org/springframework/cloud/contract/maven/verifier/stubrunner/AetherStubDownloaderFactory.java + + 0 + + 0 + + 0 +
+ org/springframework/cloud/contract/maven/verifier/stubrunner/RemoteStubRunner.java + + 0 + + 0 + + 0 +
+ org/springframework/cloud/contract/maven/verifier/CopyContracts.java + + 0 + + 0 + + 0 +
+ org/springframework/cloud/contract/maven/verifier/RunMojo.java + + 0 + + 0 + + 0 +
+ org/springframework/cloud/contract/maven/verifier/stubrunner/LocalStubRunner.java + + 0 + + 0 + + 0 +
+ org/springframework/cloud/contract/maven/verifier/ManifestCreator.java + + 0 + + 0 + + 0 +
+ org/springframework/cloud/contract/maven/verifier/ConvertMojo.java + + 0 + + 0 + + 0 +
+ +
+
+
+
+ diff --git a/1.0.x/spring-cloud-contract-maven-plugin/complex-content.html b/1.0.x/spring-cloud-contract-maven-plugin/complex-content.html index 4ba89be07c..8d6ccbf15c 100644 --- a/1.0.x/spring-cloud-contract-maven-plugin/complex-content.html +++ b/1.0.x/spring-cloud-contract-maven-plugin/complex-content.html @@ -9,7 +9,7 @@ - Spring Cloud Contract Verifier Maven Plugin – + Spring Cloud Contract Maven Plugin – @@ -66,6 +66,9 @@
  • Complex Configuration
  • + +
  • Configuration snippets +
  • Spring Cloud Contract
  • + + @@ -163,6 +205,13 @@ Complex Configuration + + +
  • + + + + Configuration snippets
  • @@ -172,6 +221,21 @@ Spring Cloud Contract + + +
  • + + + + Project Information +
  • + +
  • + + + + Project Reports +
  • @@ -236,6 +300,13 @@

    https://github.com/Codearte/accurest-maven-plugin/tree/master/spring-cloud-contract-tools/spring-cloud-contract-maven-plugin/src/test/projects/complex-configuration

    +
    +

    More samples

    +
    +

    You can check out the Spring Cloud Contract Samples project for +more examples of Maven plugin setup.

    +
    +
    diff --git a/1.0.x/spring-cloud-contract-maven-plugin/complex.html b/1.0.x/spring-cloud-contract-maven-plugin/complex.html index 39883c6692..e9764092b2 100644 --- a/1.0.x/spring-cloud-contract-maven-plugin/complex.html +++ b/1.0.x/spring-cloud-contract-maven-plugin/complex.html @@ -9,7 +9,7 @@ - Spring Cloud Contract Verifier Maven Plugin – + Spring Cloud Contract Maven Plugin – @@ -66,6 +66,9 @@
  • Complex Configuration
  • + +
  • Configuration snippets +
  • Spring Cloud Contract
  • + + @@ -162,6 +204,13 @@ Complex Configuration + +
  • + + + + Configuration snippets +
  • @@ -170,6 +219,21 @@ Spring Cloud Contract
  • + + +
  • + + + + Project Information +
  • + +
  • + + + + Project Reports +
  • @@ -212,7 +276,7 @@ <goal>generateTests</goal> </goals> <configuration> - <contractsDirectory>src/test/accurest</contractsDirectory> + <contractsDirectory>src/test/contracts</contractsDirectory> <basePackageForTests>com.blogspot.toomuchcoding.frauddetection</basePackageForTests> <testMode>MOCKMVC</testMode> <testFramework>JUNIT</testFramework> @@ -247,7 +311,7 @@
    /**
      *
    - *  Copyright 2013-2016 the original author or authors.
    + *  Copyright 2013-2017 the original author or authors.
      *
      *  Licensed under the Apache License, Version 2.0 (the "License");
      *  you may not use this file except in compliance with the License.
    @@ -284,7 +348,7 @@
     
    /**
      *
    - *  Copyright 2013-2016 the original author or authors.
    + *  Copyright 2013-2017 the original author or authors.
      *
      *  Licensed under the Apache License, Version 2.0 (the "License");
      *  you may not use this file except in compliance with the License.
    @@ -318,7 +382,7 @@
     
    /**
      *
    - *  Copyright 2013-2016 the original author or authors.
    + *  Copyright 2013-2017 the original author or authors.
      *
      *  Licensed under the Apache License, Version 2.0 (the "License");
      *  you may not use this file except in compliance with the License.
    @@ -369,6 +433,13 @@ org.springframework.cloud.contract.spec.Contract.make {
     

    https://github.com/Codearte/accurest-maven-plugin/tree/master/spring-cloud-contract-tools/spring-cloud-contract-maven-plugin/src/test/projects/complex-configuration

    +
    +

    More samples

    +
    +

    You can check out the Spring Cloud Contract Samples project for +more examples of Maven plugin setup.

    +
    +
    diff --git a/1.0.x/spring-cloud-contract-maven-plugin/configs.html b/1.0.x/spring-cloud-contract-maven-plugin/configs.html new file mode 100644 index 0000000000..05b6b8e688 --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/configs.html @@ -0,0 +1,379 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Configuration snippets

    +
    +
    +

    Here you’ll be able to see different Spring Cloud Contract Maven plugin configuration

    +
    +
    +

    Base class from mappings

    +
    +

    Define regular expression mappings to map a contract to its base class.

    +
    +
    +
    +
                            <plugin>
    +                                <groupId>org.springframework.cloud</groupId>
    +                                <artifactId>spring-cloud-contract-maven-plugin</artifactId>
    +                                <configuration>
    +                                        <baseClassForTests>com.example.FooBase</baseClassForTests>
    +                                        <baseClassMappings>
    +                                                <baseClassMapping>
    +                                                        <contractPackageRegex>.*com.*</contractPackageRegex>
    +                                                        <baseClassFQN>com.example.TestBase</baseClassFQN>
    +                                                </baseClassMapping>
    +                                        </baseClassMappings>
    +                                </configuration>
    +                        </plugin>
    +
    +
    +
    +
    +

    Convention based mappings

    +
    +

    Define a package in which base classes are placed. In this case we define +a package called hello. If there’s a contract under /contracts/hello/V1/Contract.groovy` then +we’ll search for a HelloV1Base base class. We’re taking two last folders +from the path and combine them into a class name.

    +
    +
    +
    +
                            <plugin>
    +                                <groupId>org.springframework.cloud</groupId>
    +                                <artifactId>spring-cloud-contract-maven-plugin</artifactId>
    +                                <configuration>
    +                                        <packageWithBaseClasses>hello</packageWithBaseClasses>
    +                                </configuration>
    +                        </plugin>
    +
    +
    +
    +
    +

    Remote contracts

    +
    +

    Here you can see a setup where we point to a repository where the JAR with the +contracts got deployed.

    +
    +
    +
    +
                            <plugin>
    +                                <groupId>org.springframework.cloud</groupId>
    +                                <artifactId>spring-cloud-contract-maven-plugin</artifactId>
    +                                <configuration>
    +                                        <contractsRepositoryUrl>http://link/to/your/nexus/or/artifactory/or/sth</contractsRepositoryUrl>
    +                                        <contractDependency>
    +                                                <groupId>com.example.standalone</groupId>
    +                                                <artifactId>contracts</artifactId>
    +                                        </contractDependency>
    +                                </configuration>
    +                        </plugin>
    +
    +
    +
    +
    +

    Setting up repo with common contracts

    +
    +

    A setup of a repo that contains all common contracts. It can exclude the target / build +folder that gets created when you’re installing stubs locally as a consumer.

    +
    +
    +
    +
            <properties>
    +                <!-- We don't want the tests to be executed cause we're just build stubs -->
    +                <skipTests>true</skipTests>
    +                <!-- The target / build folder needs to be excluded - we don't want to check its contents -->
    +                <excludeBuildFolders>true</excludeBuildFolders>
    +        </properties>
    +
    +        <build>
    +                <plugins>
    +                        <plugin>
    +                                <groupId>org.springframework.cloud</groupId>
    +                                <artifactId>spring-cloud-contract-maven-plugin</artifactId>
    +                                <configuration>
    +                                        <!-- By default it would search under src/test/resources/ -->
    +                                        <contractsDirectory>${project.basedir}</contractsDirectory>
    +                                </configuration>
    +                        </plugin>
    +                </plugins>
    +        </build>
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/convert-mojo.html b/1.0.x/spring-cloud-contract-maven-plugin/convert-mojo.html new file mode 100644 index 0000000000..da022de5df --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/convert-mojo.html @@ -0,0 +1,603 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – spring-cloud-contract:convert + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + + + +
    +

    spring-cloud-contract:convert

    + +

    Full name:

    + +

    org.springframework.cloud:spring-cloud-contract-maven-plugin:1.0.4.BUILD-SNAPSHOT:convert

    + +

    Description:

    + +
    Convert Spring Cloud Contract Verifier contracts into WireMock +stubs mappings. + +

    This goal allows you to generate `stubs-jar` or execute +`spring-cloud-contract:run` with generated WireMock mappings.

    + +

    Attributes:

    + + + +
    +

    Optional Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeSinceDescription
    contractDependencyDependency-(no description)
    User property is: contractDependency.
    contractsDirectoryFile-Directory containing Spring Cloud Contract Verifier contracts +written using the GroovyDSL
    Default value is: ${basedir}/src/test/resources/contracts.
    contractsPathString-The path in the JAR with all the contracts where contracts for this +particular service lay. If not provided will be resolved to +groupid/artifactid. Example:
    +
    + If groupid is com.example and +artifactid is service then the resolved +path will be /com/example/artifactid
    User property is: contractsPath.
    contractsRepositoryUrlString-The URL from which a JAR containing the contracts should get +downloaded. If not provided but artifactid / coordinates notation +was provided then the current Maven's build repositories will be +taken into consideration
    User property is: contractsRepositoryUrl.
    contractsWorkOfflineboolean-If true then JAR with contracts will be taken from +local maven repository
    Default value is: false.
    User property is: contractsWorkOffline.
    destinationFile-(no description)
    Default value is: ${basedir}.
    User property is: stubsDirectory.
    excludeBuildFoldersboolean-If true then any file laying in a path that contains +build or target will get excluded in +further processing.
    Default value is: false.
    User property is: excludeBuildFolders.
    skipboolean-(no description)
    Default value is: false.
    User property is: spring.cloud.contract.verifier.skip.
    sourceFile-Directory containing contracts written using the GroovyDSL + +

    This parameter is only used when goal is executed outside of +maven project.


    Default value is: ${basedir}.
    User property is: contractsDirectory.
    stubsDirectoryFile-Directory where the generated WireMock stubs from Groovy DSL should +be placed. You can then mention them in your packaging task to +create jar with stubs
    Default value is: ${project.build.directory}/stubs/.
    +
    + +
    +

    Parameter Details

    + +

    contractDependency:

    + +
    (no description)
    + +
      + +
    • Type: org.apache.maven.model.Dependency
    • + +
    • Required: No
    • + +
    • User Property: contractDependency
    • +

    +

    contractsDirectory:

    + +
    Directory containing Spring Cloud Contract Verifier contracts +written using the GroovyDSL
    + +
      + +
    • Type: java.io.File
    • + +
    • Required: No
    • + +
    • Default: ${basedir}/src/test/resources/contracts
    • +

    +

    contractsPath:

    + +
    The path in the JAR with all the contracts where contracts for this +particular service lay. If not provided will be resolved to +groupid/artifactid. Example:
    +
    + If groupid is com.example and +artifactid is service then the resolved +path will be /com/example/artifactid
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • User Property: contractsPath
    • +

    +

    contractsRepositoryUrl:

    + +
    The URL from which a JAR containing the contracts should get +downloaded. If not provided but artifactid / coordinates notation +was provided then the current Maven's build repositories will be +taken into consideration
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • User Property: contractsRepositoryUrl
    • +

    +

    contractsWorkOffline:

    + +
    If true then JAR with contracts will be taken from +local maven repository
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: contractsWorkOffline
    • + +
    • Default: false
    • +

    +

    destination:

    + +
    (no description)
    + +
      + +
    • Type: java.io.File
    • + +
    • Required: No
    • + +
    • User Property: stubsDirectory
    • + +
    • Default: ${basedir}
    • +

    +

    excludeBuildFolders:

    + +
    If true then any file laying in a path that contains +build or target will get excluded in +further processing.
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: excludeBuildFolders
    • + +
    • Default: false
    • +

    +

    skip:

    + +
    (no description)
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.skip
    • + +
    • Default: false
    • +

    +

    source:

    + +
    Directory containing contracts written using the GroovyDSL + +

    This parameter is only used when goal is executed outside of +maven project.

    + +
      + +
    • Type: java.io.File
    • + +
    • Required: No
    • + +
    • User Property: contractsDirectory
    • + +
    • Default: ${basedir}
    • +

    +

    stubsDirectory:

    + +
    Directory where the generated WireMock stubs from Groovy DSL should +be placed. You can then mention them in your packaging task to +create jar with stubs
    + +
      + +
    • Type: java.io.File
    • + +
    • Required: No
    • + +
    • Default: ${project.build.directory}/stubs/
    • +
    +
    +
    + + +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/generateStubs-mojo.html b/1.0.x/spring-cloud-contract-maven-plugin/generateStubs-mojo.html new file mode 100644 index 0000000000..0122dfb942 --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/generateStubs-mojo.html @@ -0,0 +1,468 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – spring-cloud-contract:generateStubs + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + + + +
    +

    spring-cloud-contract:generateStubs

    + +

    Full name:

    + +

    org.springframework.cloud:spring-cloud-contract-maven-plugin:1.0.4.BUILD-SNAPSHOT:generateStubs

    + +

    Description:

    + +
    Picks the converted .json files and creates a jar. Requires convert +to be executed first
    + +

    Attributes:

    + +
      + +
    • Requires a Maven project to be executed.
    • + +
    • Binds by default to the lifecycle phase: package.
    • +
    + +
    +

    Optional Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeSinceDescription
    attachContractsboolean-(no description)
    Default value is: true.
    classifierString-(no description)
    Default value is: stubs.
    excludedFilesString[]-Patterns that should not be taken into account for processing
    jarSkipboolean-Set this to "true" to bypass only JAR creation
    Default value is: false.
    User property is: spring.cloud.contract.verifier.jar.skip.
    outputDirectoryFile-(no description)
    Default value is: ${project.build.directory}/stubs.
    User property is: stubsDirectory.
    skipboolean-Set this to "true" to bypass the whole Verifier execution
    Default value is: false.
    User property is: spring.cloud.contract.verifier.skip.
    +
    + +
    +

    Parameter Details

    + +

    attachContracts:

    + +
    (no description)
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • Default: true
    • +

    +

    classifier:

    + +
    (no description)
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • Default: stubs
    • +

    +

    excludedFiles:

    + +
    Patterns that should not be taken into account for processing
    + +
      + +
    • Type: java.lang.String[]
    • + +
    • Required: No
    • +

    +

    jarSkip:

    + +
    Set this to "true" to bypass only JAR creation
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.jar.skip
    • + +
    • Default: false
    • +

    +

    outputDirectory:

    + +
    (no description)
    + +
      + +
    • Type: java.io.File
    • + +
    • Required: No
    • + +
    • User Property: stubsDirectory
    • + +
    • Default: ${project.build.directory}/stubs
    • +

    +

    skip:

    + +
    Set this to "true" to bypass the whole Verifier execution
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.skip
    • + +
    • Default: false
    • +
    +
    +
    + + +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/generateTests-mojo.html b/1.0.x/spring-cloud-contract-maven-plugin/generateTests-mojo.html new file mode 100644 index 0000000000..c74660edd4 --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/generateTests-mojo.html @@ -0,0 +1,894 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – spring-cloud-contract:generateTests + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + + + +
    +

    spring-cloud-contract:generateTests

    + +

    Full name:

    + +

    org.springframework.cloud:spring-cloud-contract-maven-plugin:1.0.4.BUILD-SNAPSHOT:generateTests

    + +

    Description:

    + +
    From the provided directory with contracts generates the acceptance +tests on the producer side
    + +

    Attributes:

    + +
      + +
    • Requires a Maven project to be executed.
    • + +
    • Requires dependency resolution of artifacts in scope: test.
    • + +
    • Binds by default to the lifecycle phase: generate-test-sources.
    • +
    + +
    +

    Optional Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeSinceDescription
    assertJsonSizeboolean-Incubating feature. You can check the size of JSON arrays. If not +turned on explicitly will be disabled.
    Default value is: false.
    User property is: spring.cloud.contract.verifier.assert.size.
    baseClassForTestsString-(no description)
    baseClassMappingsList-A way to override any base class mappings. The keys are regular +expressions on the package name of the contract and the values FQN +to a base class for that given expression.
    +
    + Example of a mapping
    +
    + .*.com.example.v1..* -> +com.example.SomeBaseClass
    +
    + When a contract's package matches the provided regular expression +then extending class will be the one provided in the map - in this +case com.example.SomeBaseClass
    User property is: baseClassMappings.
    basePackageForTestsString-(no description)
    Default value is: org.springframework.cloud.contract.verifier.tests.
    contractDependencyDependency-(no description)
    User property is: contractDependency.
    contractsDirectoryFile-(no description)
    Default value is: ${project.basedir}/src/test/resources/contracts.
    User property is: spring.cloud.contract.verifier.contractsDirectory.
    contractsPathString-The path in the JAR with all the contracts where contracts for this +particular service lay. If not provided will be resolved to +groupid/artifactid. Example:
    +
    + If groupid is com.example and +artifactid is service then the resolved +path will be /com/example/artifactid
    User property is: contractsPath.
    contractsRepositoryUrlString-The URL from which a JAR containing the contracts should get +downloaded. If not provided but artifactid / coordinates notation +was provided then the current Maven's build repositories will be +taken into consideration
    User property is: contractsRepositoryUrl.
    contractsWorkOfflineboolean-If true then JAR with contracts will be taken from +local maven repository
    Default value is: false.
    User property is: contractsWorkOffline.
    excludedFilesList-Patterns that should not be taken into account for processing
    generatedTestSourcesDirFile-(no description)
    Default value is: ${project.build.directory}/generated-test-sources/contracts.
    ignoredFilesList-Patterns for which Spring Cloud Contract Verifier should generate +@Ignored tests
    importsString[]-Imports that should be added to generated tests
    mavenTestSkipboolean-(no description)
    Default value is: false.
    User property is: maven.test.skip.
    nameSuffixForTestsString-(no description)
    packageWithBaseClassesString-A package that contains all the base clases for generated tests. If +your contract resides in a location +src/test/resources/contracts/com/example/v1/ and you +provide the packageWithBaseClasses value to +com.example.contracts.base then we will search for a +test source file that will have the package +com.example.contracts.base and name +ExampleV1Base. As you can see it will take the two +last folders to and attach Base to its name.
    User property is: packageWithBaseClasses.
    ruleClassForTestsString-(no description)
    skipboolean-(no description)
    Default value is: false.
    User property is: spring.cloud.contract.verifier.skip.
    skipTestsboolean-(no description)
    Default value is: false.
    User property is: skipTests.
    staticImportsString[]-Static imports that should be added to generated tests
    testFrameworkTestFramework-(no description)
    Default value is: JUNIT.
    testModeTestMode-(no description)
    Default value is: MOCKMVC.
    +
    + +
    +

    Parameter Details

    + +

    assertJsonSize:

    + +
    Incubating feature. You can check the size of JSON arrays. If not +turned on explicitly will be disabled.
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.assert.size
    • + +
    • Default: false
    • +

    +

    baseClassForTests:

    + +
    (no description)
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • +

    +

    baseClassMappings:

    + +
    A way to override any base class mappings. The keys are regular +expressions on the package name of the contract and the values FQN +to a base class for that given expression.
    +
    + Example of a mapping
    +
    + .*.com.example.v1..* -> +com.example.SomeBaseClass
    +
    + When a contract's package matches the provided regular expression +then extending class will be the one provided in the map - in this +case com.example.SomeBaseClass
    + +
      + +
    • Type: java.util.List
    • + +
    • Required: No
    • + +
    • User Property: baseClassMappings
    • +

    +

    basePackageForTests:

    + +
    (no description)
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • Default: org.springframework.cloud.contract.verifier.tests
    • +

    +

    contractDependency:

    + +
    (no description)
    + +
      + +
    • Type: org.apache.maven.model.Dependency
    • + +
    • Required: No
    • + +
    • User Property: contractDependency
    • +

    +

    contractsDirectory:

    + +
    (no description)
    + +
      + +
    • Type: java.io.File
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.contractsDirectory
    • + +
    • Default: ${project.basedir}/src/test/resources/contracts
    • +

    +

    contractsPath:

    + +
    The path in the JAR with all the contracts where contracts for this +particular service lay. If not provided will be resolved to +groupid/artifactid. Example:
    +
    + If groupid is com.example and +artifactid is service then the resolved +path will be /com/example/artifactid
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • User Property: contractsPath
    • +

    +

    contractsRepositoryUrl:

    + +
    The URL from which a JAR containing the contracts should get +downloaded. If not provided but artifactid / coordinates notation +was provided then the current Maven's build repositories will be +taken into consideration
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • User Property: contractsRepositoryUrl
    • +

    +

    contractsWorkOffline:

    + +
    If true then JAR with contracts will be taken from +local maven repository
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: contractsWorkOffline
    • + +
    • Default: false
    • +

    +

    excludedFiles:

    + +
    Patterns that should not be taken into account for processing
    + +
      + +
    • Type: java.util.List
    • + +
    • Required: No
    • +

    +

    generatedTestSourcesDir:

    + +
    (no description)
    + +
      + +
    • Type: java.io.File
    • + +
    • Required: No
    • + +
    • Default: ${project.build.directory}/generated-test-sources/contracts
    • +

    +

    ignoredFiles:

    + +
    Patterns for which Spring Cloud Contract Verifier should generate +@Ignored tests
    + +
      + +
    • Type: java.util.List
    • + +
    • Required: No
    • +

    +

    imports:

    + +
    Imports that should be added to generated tests
    + +
      + +
    • Type: java.lang.String[]
    • + +
    • Required: No
    • +

    +

    mavenTestSkip:

    + +
    (no description)
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: maven.test.skip
    • + +
    • Default: false
    • +

    +

    nameSuffixForTests:

    + +
    (no description)
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • +

    +

    packageWithBaseClasses:

    + +
    A package that contains all the base clases for generated tests. If +your contract resides in a location +src/test/resources/contracts/com/example/v1/ and you +provide the packageWithBaseClasses value to +com.example.contracts.base then we will search for a +test source file that will have the package +com.example.contracts.base and name +ExampleV1Base. As you can see it will take the two +last folders to and attach Base to its name.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • User Property: packageWithBaseClasses
    • +

    +

    ruleClassForTests:

    + +
    (no description)
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • +

    +

    skip:

    + +
    (no description)
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.skip
    • + +
    • Default: false
    • +

    +

    skipTests:

    + +
    (no description)
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: skipTests
    • + +
    • Default: false
    • +

    +

    staticImports:

    + +
    Static imports that should be added to generated tests
    + +
      + +
    • Type: java.lang.String[]
    • + +
    • Required: No
    • +

    +

    testFramework:

    + +
    (no description)
    + +
      + +
    • Type: org.springframework.cloud.contract.verifier.config.TestFramework
    • + +
    • Required: No
    • + +
    • Default: JUNIT
    • +

    +

    testMode:

    + +
    (no description)
    + +
      + +
    • Type: org.springframework.cloud.contract.verifier.config.TestMode
    • + +
    • Required: No
    • + +
    • Default: MOCKMVC
    • +
    +
    +
    + + +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/help-mojo.html b/1.0.x/spring-cloud-contract-maven-plugin/help-mojo.html new file mode 100644 index 0000000000..97f6b41762 --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/help-mojo.html @@ -0,0 +1,428 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – spring-cloud-contract:help + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + + + +
    +

    spring-cloud-contract:help

    + +

    Full name:

    + +

    org.springframework.cloud:spring-cloud-contract-maven-plugin:1.0.4.BUILD-SNAPSHOT:help

    + +

    Description:

    + +
    Display help information on +spring-cloud-contract-maven-plugin.
    +Call mvn spring-cloud-contract:help -Ddetail=true +-Dgoal=<goal-name> to display parameter details.
    + +

    Attributes:

    + +
      + +
    • The goal is thread-safe and supports parallel builds.
    • +
    + +
    +

    Optional Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeSinceDescription
    detailboolean-If true, display all settable properties for each +goal.
    Default value is: false.
    User property is: detail.
    goalString-The name of the goal for which to show help. If unspecified, all +goals will be displayed.
    User property is: goal.
    indentSizeint-The number of spaces per indentation level, should be positive.
    Default value is: 2.
    User property is: indentSize.
    lineLengthint-The maximum length of a display line, should be positive.
    Default value is: 80.
    User property is: lineLength.
    +
    + +
    +

    Parameter Details

    + +

    detail:

    + +
    If true, display all settable properties for each +goal.
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: detail
    • + +
    • Default: false
    • +

    +

    goal:

    + +
    The name of the goal for which to show help. If unspecified, all +goals will be displayed.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • User Property: goal
    • +

    +

    indentSize:

    + +
    The number of spaces per indentation level, should be positive.
    + +
      + +
    • Type: int
    • + +
    • Required: No
    • + +
    • User Property: indentSize
    • + +
    • Default: 2
    • +

    +

    lineLength:

    + +
    The maximum length of a display line, should be positive.
    + +
      + +
    • Type: int
    • + +
    • Required: No
    • + +
    • User Property: lineLength
    • + +
    • Default: 80
    • +
    +
    +
    + + +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/index.html b/1.0.x/spring-cloud-contract-maven-plugin/index.html index be27965d8a..92762f19e4 100644 --- a/1.0.x/spring-cloud-contract-maven-plugin/index.html +++ b/1.0.x/spring-cloud-contract-maven-plugin/index.html @@ -9,7 +9,7 @@ - Spring Cloud Contract Verifier Maven Plugin – + Spring Cloud Contract Maven Plugin – @@ -66,6 +66,9 @@
  • Complex Configuration
  • + +
  • Configuration snippets +
  • Spring Cloud Contract
  • + + @@ -161,6 +203,13 @@ Complex Configuration + + +
  • + + + + Configuration snippets
  • @@ -170,6 +219,84 @@ Spring Cloud Contract + + +
  • + + + + Project Information + +
  • + +
  • + + + + Project Reports +
  • @@ -190,7 +317,9 @@
    -

    Spring Cloud Contract Verifier Maven Plugin

    +

    Spring Cloud Contract Maven Plugin

    +
    +

    Just to make long story short - Spring Cloud Contract Verifier is a tool that enables Consumer Driven Contract (CDC) development of JVM-based applications.

    @@ -206,6 +335,40 @@

    Spring Cloud Contract Verifier moves TDD to the level of software architecture.

    +
    +
    +

    This plugin allows you to:

    +
    +
    +
      +
    • +

      generate tests from the provided contracts

      +
    • +
    • +

      run the stubs from the stubs

      +
    • +
    +
    +
    +
    + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/integration.html b/1.0.x/spring-cloud-contract-maven-plugin/integration.html new file mode 100644 index 0000000000..49a8cfba45 --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/integration.html @@ -0,0 +1,351 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – CI Management + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Overview

    +

    This project uses Continuous Integration System.

    +
    +

    Access

    +

    The following is a link to the continuous integration system used by the project:

    +
    +
    +

    Notifiers

    +

    No notifiers are defined. Please check back at a later date.

    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/issue-tracking.html b/1.0.x/spring-cloud-contract-maven-plugin/issue-tracking.html new file mode 100644 index 0000000000..a391c283f7 --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/issue-tracking.html @@ -0,0 +1,348 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – Issue Management + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Overview

    +

    This project uses GitHub to manage its issues.

    +
    +

    Issue Management

    +

    Issues, bugs, and feature requests should be submitted to the following issue management system for this project.

    +
    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/junit.html b/1.0.x/spring-cloud-contract-maven-plugin/junit.html index 31ae3536f0..2a642c752f 100644 --- a/1.0.x/spring-cloud-contract-maven-plugin/junit.html +++ b/1.0.x/spring-cloud-contract-maven-plugin/junit.html @@ -9,7 +9,7 @@ - Spring Cloud Contract Verifier Maven Plugin – + Spring Cloud Contract Maven Plugin – @@ -66,6 +66,9 @@
  • Complex Configuration
  • + +
  • Configuration snippets +
  • Spring Cloud Contract
  • + + @@ -161,6 +203,13 @@ Complex Configuration + + +
  • + + + + Configuration snippets
  • @@ -170,6 +219,21 @@ Spring Cloud Contract + + +
  • + + + + Project Information +
  • + +
  • + + + + Project Reports +
  • @@ -249,7 +313,7 @@
    /**
      *
    - *  Copyright 2013-2016 the original author or authors.
    + *  Copyright 2013-2017 the original author or authors.
      *
      *  Licensed under the Apache License, Version 2.0 (the "License");
      *  you may not use this file except in compliance with the License.
    diff --git a/1.0.x/spring-cloud-contract-maven-plugin/license.html b/1.0.x/spring-cloud-contract-maven-plugin/license.html
    new file mode 100644
    index 0000000000..d349e00069
    --- /dev/null
    +++ b/1.0.x/spring-cloud-contract-maven-plugin/license.html
    @@ -0,0 +1,735 @@
    +
    +
    +
    +  
    +    
    +    
    +    
    +    
    +    Spring Cloud Contract Maven Plugin – Project Licenses
    +    
    +    
    +    
    +
    +      
    +    
    +
    +                      
    +        
    +          
    +    
    +    
    +            
    +    
    +        
    +    
    +      Fork me on GitHub
    +    
    +  
    +                
    +                    
    +                
    +
    +    
    +    
    + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Overview

    +

    Typically the licenses listed for the project are that of the project itself, and not of dependencies.

    +
    +

    Project Licenses

    +
    +

    Apache License, Version 2.0

    +

    Copyright 2014-2015 the original author or authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. + +See the License for the specific language governing permissions and +limitations under the License.

    [Original text] +

    Copy of the license follows:

    + +
    + +
    + +
    +
    +
    + Apache Logo +
    +
    +
    + + +
    + The Apache Way + Contribute + ASF Sponsors +
    +
    +
    +
    +

    Apache License

    Version 2.0, January 2004

    +http://www.apache.org/licenses/

    +

    TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

    +

    1. Definitions.

    +

    "License" shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document.

    +

    "Licensor" shall mean the copyright owner or entity authorized by the +copyright owner that is granting the License.

    +

    "Legal Entity" shall mean the union of the acting entity and all other +entities that control, are controlled by, or are under common control with +that entity. For the purposes of this definition, "control" means (i) the +power, direct or indirect, to cause the direction or management of such +entity, whether by contract or otherwise, or (ii) ownership of fifty +percent (50%) or more of the outstanding shares, or (iii) beneficial +ownership of such entity.

    +

    "You" (or "Your") shall mean an individual or Legal Entity exercising +permissions granted by this License.

    +

    "Source" form shall mean the preferred form for making modifications, +including but not limited to software source code, documentation source, +and configuration files.

    +

    "Object" form shall mean any form resulting from mechanical transformation +or translation of a Source form, including but not limited to compiled +object code, generated documentation, and conversions to other media types.

    +

    "Work" shall mean the work of authorship, whether in Source or Object form, +made available under the License, as indicated by a copyright notice that +is included in or attached to the work (an example is provided in the +Appendix below).

    +

    "Derivative Works" shall mean any work, whether in Source or Object form, +that is based on (or derived from) the Work and for which the editorial +revisions, annotations, elaborations, or other modifications represent, as +a whole, an original work of authorship. For the purposes of this License, +Derivative Works shall not include works that remain separable from, or +merely link (or bind by name) to the interfaces of, the Work and Derivative +Works thereof.

    +

    "Contribution" shall mean any work of authorship, including the original +version of the Work and any modifications or additions to that Work or +Derivative Works thereof, that is intentionally submitted to Licensor for +inclusion in the Work by the copyright owner or by an individual or Legal +Entity authorized to submit on behalf of the copyright owner. For the +purposes of this definition, "submitted" means any form of electronic, +verbal, or written communication sent to the Licensor or its +representatives, including but not limited to communication on electronic +mailing lists, source code control systems, and issue tracking systems that +are managed by, or on behalf of, the Licensor for the purpose of discussing +and improving the Work, but excluding communication that is conspicuously +marked or otherwise designated in writing by the copyright owner as "Not a +Contribution."

    +

    "Contributor" shall mean Licensor and any individual or Legal Entity on +behalf of whom a Contribution has been received by Licensor and +subsequently incorporated within the Work.

    +

    2. Grant of Copyright License. Subject to the +terms and conditions of this License, each Contributor hereby grants to You +a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable +copyright license to reproduce, prepare Derivative Works of, publicly +display, publicly perform, sublicense, and distribute the Work and such +Derivative Works in Source or Object form.

    +

    3. Grant of Patent License. Subject to the terms +and conditions of this License, each Contributor hereby grants to You a +perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable +(except as stated in this section) patent license to make, have made, use, +offer to sell, sell, import, and otherwise transfer the Work, where such +license applies only to those patent claims licensable by such Contributor +that are necessarily infringed by their Contribution(s) alone or by +combination of their Contribution(s) with the Work to which such +Contribution(s) was submitted. If You institute patent litigation against +any entity (including a cross-claim or counterclaim in a lawsuit) alleging +that the Work or a Contribution incorporated within the Work constitutes +direct or contributory patent infringement, then any patent licenses +granted to You under this License for that Work shall terminate as of the +date such litigation is filed.

    +

    4. Redistribution. You may reproduce and +distribute copies of the Work or Derivative Works thereof in any medium, +with or without modifications, and in Source or Object form, provided that +You meet the following conditions:

    +
      +
    1. You must give any other recipients of the Work or Derivative Works a +copy of this License; and
    2. + +
    3. You must cause any modified files to carry prominent notices stating +that You changed the files; and
    4. + +
    5. You must retain, in the Source form of any Derivative Works that You +distribute, all copyright, patent, trademark, and attribution notices from +the Source form of the Work, excluding those notices that do not pertain to +any part of the Derivative Works; and
    6. + +
    7. If the Work includes a "NOTICE" text file as part of its distribution, +then any Derivative Works that You distribute must include a readable copy +of the attribution notices contained within such NOTICE file, excluding +those notices that do not pertain to any part of the Derivative Works, in +at least one of the following places: within a NOTICE text file distributed +as part of the Derivative Works; within the Source form or documentation, +if provided along with the Derivative Works; or, within a display generated +by the Derivative Works, if and wherever such third-party notices normally +appear. The contents of the NOTICE file are for informational purposes only +and do not modify the License. You may add Your own attribution notices +within Derivative Works that You distribute, alongside or as an addendum to +the NOTICE text from the Work, provided that such additional attribution +notices cannot be construed as modifying the License. +
      +
      +You may add Your own copyright statement to Your modifications and may +provide additional or different license terms and conditions for use, +reproduction, or distribution of Your modifications, or for any such +Derivative Works as a whole, provided Your use, reproduction, and +distribution of the Work otherwise complies with the conditions stated in +this License. +
    8. + +
    + +

    5. Submission of Contributions. Unless You +explicitly state otherwise, any Contribution intentionally submitted for +inclusion in the Work by You to the Licensor shall be under the terms and +conditions of this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify the +terms of any separate license agreement you may have executed with Licensor +regarding such Contributions.

    +

    6. Trademarks. This License does not grant +permission to use the trade names, trademarks, service marks, or product +names of the Licensor, except as required for reasonable and customary use +in describing the origin of the Work and reproducing the content of the +NOTICE file.

    +

    7. Disclaimer of Warranty. Unless required by +applicable law or agreed to in writing, Licensor provides the Work (and +each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, +without limitation, any warranties or conditions of TITLE, +NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You +are solely responsible for determining the appropriateness of using or +redistributing the Work and assume any risks associated with Your exercise +of permissions under this License.

    +

    8. Limitation of Liability. In no event and +under no legal theory, whether in tort (including negligence), contract, or +otherwise, unless required by applicable law (such as deliberate and +grossly negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, +incidental, or consequential damages of any character arising as a result +of this License or out of the use or inability to use the Work (including +but not limited to damages for loss of goodwill, work stoppage, computer +failure or malfunction, or any and all other commercial damages or losses), +even if such Contributor has been advised of the possibility of such +damages.

    +

    9. Accepting Warranty or Additional Liability. +While redistributing the Work or Derivative Works thereof, You may choose +to offer, and charge a fee for, acceptance of support, warranty, indemnity, +or other liability obligations and/or rights consistent with this License. +However, in accepting such obligations, You may act only on Your own behalf +and on Your sole responsibility, not on behalf of any other Contributor, +and only if You agree to indemnify, defend, and hold each Contributor +harmless for any liability incurred by, or claims asserted against, such +Contributor by reason of your accepting any such warranty or additional +liability.

    +

    END OF TERMS AND CONDITIONS

    +

    APPENDIX: How to apply the Apache License to your work

    +

    To apply the Apache License to your work, attach the following boilerplate +notice, with the fields enclosed by brackets "[]" replaced with your own +identifying information. (Don't include the brackets!) The text should be +enclosed in the appropriate comment syntax for the file format. We also +recommend that a file or class name and description of purpose be included +on the same "printed page" as the copyright notice for easier +identification within third-party archives.

    +
    Copyright [yyyy] [name of copyright owner]
    +
    +Licensed under the Apache License, Version 2.0 (the "License");
    +you may not use this file except in compliance with the License.
    +You may obtain a copy of the License at
    +
    +    http://www.apache.org/licenses/LICENSE-2.0
    +
    +Unless required by applicable law or agreed to in writing, software
    +distributed under the License is distributed on an "AS IS" BASIS,
    +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +See the License for the specific language governing permissions and
    +limitations under the License.
    +
    + + + + + + + + + +
    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/plugin-info.html b/1.0.x/spring-cloud-contract-maven-plugin/plugin-info.html new file mode 100644 index 0000000000..9bf052006f --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/plugin-info.html @@ -0,0 +1,367 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – Plugin Documentation + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Plugin Documentation

    +

    Goals available for this plugin:

    + + + + + + + + + + + + + + + + + + +
    GoalDescription
    spring-cloud-contract:convertConvert Spring Cloud Contract Verifier contracts into WireMock +stubs mappings. +

    This goal allows you to generate `stubs-jar` or execute +`spring-cloud-contract:run` with generated WireMock mappings.

    spring-cloud-contract:generateStubsPicks the converted .json files and creates a jar. Requires convert +to be executed first
    spring-cloud-contract:generateTestsFrom the provided directory with contracts generates the acceptance +tests on the producer side
    spring-cloud-contract:helpDisplay help information on +spring-cloud-contract-maven-plugin.
    +Call mvn spring-cloud-contract:help -Ddetail=true +-Dgoal=<goal-name> to display parameter details.
    spring-cloud-contract:runNo description.
    +
    +

    System Requirements

    +

    The following specifies the minimum requirements to run this Maven plugin:

    + + + + + + + + + + + + +
    Maven3.2.5
    JDK1.7
    MemoryNo minimum requirement.
    Disk SpaceNo minimum requirement.
    +
    +

    Usage

    +

    You should specify the version in your project's plugin configuration:

    +
    <project>
    +  ...
    +  <build>
    +    <!-- To define the plugin version in your parent POM -->
    +    <pluginManagement>
    +      <plugins>
    +        <plugin>
    +          <groupId>org.springframework.cloud</groupId>
    +          <artifactId>spring-cloud-contract-maven-plugin</artifactId>
    +          <version>1.0.4.BUILD-SNAPSHOT</version>
    +        </plugin>
    +        ...
    +      </plugins>
    +    </pluginManagement>
    +    <!-- To use the plugin goals in your POM or parent POM -->
    +    <plugins>
    +      <plugin>
    +        <groupId>org.springframework.cloud</groupId>
    +        <artifactId>spring-cloud-contract-maven-plugin</artifactId>
    +        <version>1.0.4.BUILD-SNAPSHOT</version>
    +      </plugin>
    +      ...
    +    </plugins>
    +  </build>
    +  ...
    +</project>
    +
    +

    For more information, see "Guide to Configuring Plug-ins"

    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/plugin-management.html b/1.0.x/spring-cloud-contract-maven-plugin/plugin-management.html new file mode 100644 index 0000000000..56fddad72c --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/plugin-management.html @@ -0,0 +1,428 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – Project Plugin Management + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Project Plugin Management

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GroupIdArtifactIdVersion
    io.takari.maven.pluginstakari-lifecycle-plugin1.12.0
    org.apache.maven.pluginsmaven-antrun-plugin1.7
    org.apache.maven.pluginsmaven-assembly-plugin2.2-beta-5
    org.apache.maven.pluginsmaven-dependency-plugin2.8
    org.apache.maven.pluginsmaven-enforcer-plugin1.4.1
    org.apache.maven.pluginsmaven-failsafe-plugin2.19.1
    org.apache.maven.pluginsmaven-jar-plugin2.6
    org.apache.maven.pluginsmaven-plugin-plugin3.4
    org.apache.maven.pluginsmaven-release-plugin2.3.2
    org.apache.maven.pluginsmaven-resources-plugin2.6
    org.apache.maven.pluginsmaven-shade-plugin2.2
    org.apache.maven.pluginsmaven-surefire-plugin2.12.4
    org.apache.maven.pluginsmaven-war-plugin3.0.0
    org.codehaus.gmavenplusgmavenplus-plugin1.5
    org.codehaus.mojoexec-maven-plugin1.5.0
    org.codehaus.plexusplexus-component-metadata1.6
    org.eclipse.m2elifecycle-mapping1.0.0
    org.eluder.coverallscoveralls-maven-plugin4.1.0
    org.springframework.bootspring-boot-maven-plugin1.4.2.RELEASE
    pl.project13.mavengit-commit-id-plugin2.1.11
    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/plugins.html b/1.0.x/spring-cloud-contract-maven-plugin/plugins.html new file mode 100644 index 0000000000..309af95f2e --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/plugins.html @@ -0,0 +1,447 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – Project Plugins + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Project Build Plugins

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    GroupIdArtifactIdVersion
    io.takari.maven.pluginstakari-lifecycle-plugin1.12.0
    org.apache.maven.pluginsmaven-checkstyle-plugin2.17
    org.apache.maven.pluginsmaven-clean-plugin3.0.0
    org.apache.maven.pluginsmaven-compiler-plugin3.1
    org.apache.maven.pluginsmaven-deploy-plugin2.7
    org.apache.maven.pluginsmaven-failsafe-plugin2.19.1
    org.apache.maven.pluginsmaven-install-plugin2.4
    org.apache.maven.pluginsmaven-jar-plugin2.6
    org.apache.maven.pluginsmaven-javadoc-plugin2.10.4
    org.apache.maven.pluginsmaven-plugin-plugin3.4
    org.apache.maven.pluginsmaven-resources-plugin2.6
    org.apache.maven.pluginsmaven-scm-publish-plugin1.1
    org.apache.maven.pluginsmaven-site-plugin3.4
    org.apache.maven.pluginsmaven-source-plugin2.4
    org.apache.maven.pluginsmaven-surefire-plugin2.12.4
    org.codehaus.gmavenplusgmavenplus-plugin1.5
    org.codehaus.mojoanimal-sniffer-maven-plugin1.14
    org.codehaus.plexusplexus-component-metadata1.6
    org.eluder.coverallscoveralls-maven-plugin4.1.0
    org.jacocohttp://jacoco-maven-plugin0.7.8
    +
    +

    Project Report Plugins

    + + + + + + + + + + + + + + + + +
    GroupIdArtifactIdVersion
    org.apache.maven.pluginsmaven-checkstyle-plugin2.17
    org.apache.maven.pluginsmaven-plugin-plugin3.4
    org.apache.maven.pluginsmaven-project-info-reports-plugin2.9
    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/project-info.html b/1.0.x/spring-cloud-contract-maven-plugin/project-info.html new file mode 100644 index 0000000000..d6a985bc9a --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/project-info.html @@ -0,0 +1,377 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – Project Information + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Project Information

    +

    This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.

    +
    +

    Overview

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    DocumentDescription
    CI ManagementThis is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
    AboutSpring Cloud Contract Maven Plugin
    Issue ManagementThis document provides information on the issue management system used in this project.
    LicensesThis document lists the project license(s).
    Plugin ManagementThis document lists the plugins that are defined through pluginManagement.
    PluginsThis document lists the build plugins and the report plugins used by this project.
    TeamThis document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
    Source Code ManagementThis document lists ways to access the online source repository.
    SummaryThis document lists other related information of this project
    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/project-reports.html b/1.0.x/spring-cloud-contract-maven-plugin/project-reports.html new file mode 100644 index 0000000000..5e8da42ab2 --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/project-reports.html @@ -0,0 +1,307 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – Generated Reports + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Generated Reports

    +

    This document provides an overview of the various reports that are automatically generated by Maven . Each report is briefly described below.

    +
    +

    Overview

    + + + + + + + + + +
    DocumentDescription
    CheckstyleReport on coding style conventions.
    Plugin DocumentationThis report provides goals and parameters documentation of a plugin.
    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/project-summary.html b/1.0.x/spring-cloud-contract-maven-plugin/project-summary.html new file mode 100644 index 0000000000..ecad472211 --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/project-summary.html @@ -0,0 +1,393 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – Project Summary + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Project Summary

    +
    +

    Project Information

    + + + + + + + + + + + + +
    FieldValue
    NameSpring Cloud Contract Maven Plugin
    DescriptionSpring Cloud Contract Maven Plugin
    Homepagehttps://github.com/spring-cloud/spring-cloud-contract
    +
    +

    Project Organization

    + + + + + + + + + +
    FieldValue
    NameSpring
    URLhttps://spring.io/
    +
    +

    Build Information

    + + + + + + + + + + + + + + + + + + +
    FieldValue
    GroupIdorg.springframework.cloud
    ArtifactIdspring-cloud-contract-maven-plugin
    Version1.0.4.BUILD-SNAPSHOT
    Typemaven-plugin
    Java Version1.7
    +
    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/run-mojo.html b/1.0.x/spring-cloud-contract-maven-plugin/run-mojo.html new file mode 100644 index 0000000000..2190d20d92 --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/run-mojo.html @@ -0,0 +1,542 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – spring-cloud-contract:run + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + + + +
    +

    spring-cloud-contract:run

    + +

    Full name:

    + +

    org.springframework.cloud:spring-cloud-contract-maven-plugin:1.0.4.BUILD-SNAPSHOT:run

    + +

    Description:

    + +
    (no description)
    + +

    Attributes:

    + +
      + +
    • Requires dependency resolution of artifacts in scope: runtime.
    • +
    + +
    +

    Optional Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeSinceDescription
    destinationFile-(no description)
    Default value is: ${basedir}.
    User property is: stubsDirectory.
    httpPortint-HTTP port for WireMock server
    Default value is: 8080.
    User property is: spring.cloud.contract.verifier.http.port.
    maxPortint-(no description)
    Default value is: 15000.
    User property is: spring.cloud.contract.verifier.http.maxPort.
    minPortint-(no description)
    Default value is: 10000.
    User property is: spring.cloud.contract.verifier.http.minPort.
    skipboolean-Set this to "true" to bypass verifier execution.
    Default value is: false.
    User property is: spring.cloud.contract.verifier.skip.
    skipTestOnlyboolean-Set this to "true" to bypass verifier test generation.
    Default value is: false.
    User property is: spring.cloud.contract.verifier.skipTestOnly.
    stubsString-(no description)
    User property is: spring.cloud.contract.verifier.stubs.
    stubsClassifierString-Classifier used by stubs artifacts.
    Default value is: stubs.
    stubsDirectoryFile-(no description)
    Default value is: ${project.build.directory}/stubs/.
    +
    + +
    +

    Parameter Details

    + +

    destination:

    + +
    (no description)
    + +
      + +
    • Type: java.io.File
    • + +
    • Required: No
    • + +
    • User Property: stubsDirectory
    • + +
    • Default: ${basedir}
    • +

    +

    httpPort:

    + +
    HTTP port for WireMock server
    + +
      + +
    • Type: int
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.http.port
    • + +
    • Default: 8080
    • +

    +

    maxPort:

    + +
    (no description)
    + +
      + +
    • Type: int
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.http.maxPort
    • + +
    • Default: 15000
    • +

    +

    minPort:

    + +
    (no description)
    + +
      + +
    • Type: int
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.http.minPort
    • + +
    • Default: 10000
    • +

    +

    skip:

    + +
    Set this to "true" to bypass verifier execution.
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.skip
    • + +
    • Default: false
    • +

    +

    skipTestOnly:

    + +
    Set this to "true" to bypass verifier test generation.
    + +
      + +
    • Type: boolean
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.skipTestOnly
    • + +
    • Default: false
    • +

    +

    stubs:

    + +
    (no description)
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • User Property: spring.cloud.contract.verifier.stubs
    • +

    +

    stubsClassifier:

    + +
    Classifier used by stubs artifacts.
    + +
      + +
    • Type: java.lang.String
    • + +
    • Required: No
    • + +
    • Default: stubs
    • +

    +

    stubsDirectory:

    + +
    (no description)
    + +
      + +
    • Type: java.io.File
    • + +
    • Required: No
    • + +
    • Default: ${project.build.directory}/stubs/
    • +
    +
    +
    + + +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/sitemap.html b/1.0.x/spring-cloud-contract-maven-plugin/sitemap.html index 3f6f258f31..75351ffad5 100644 --- a/1.0.x/spring-cloud-contract-maven-plugin/sitemap.html +++ b/1.0.x/spring-cloud-contract-maven-plugin/sitemap.html @@ -9,7 +9,7 @@ - Spring Cloud Contract Verifier Maven Plugin – Sitemap + Spring Cloud Contract Maven Plugin – Sitemap @@ -66,6 +66,9 @@
  • Complex Configuration
  • + +
  • Configuration snippets +
  • Spring Cloud Contract
  • + + @@ -163,6 +205,13 @@ Complex Configuration + + +
  • + + + + Configuration snippets
  • @@ -172,6 +221,21 @@ Spring Cloud Contract + + +
  • + + + + Project Information +
  • + +
  • + + + + Project Reports +
  • @@ -213,14 +277,51 @@
  • Spock Configuration
  • -
  • Complex Configuration
  • +
  • Complex Configuration
  • + +
  • Configuration snippets
  • Related Projects


    +
  • Spring Cloud Contract
  • + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/source-repository.html b/1.0.x/spring-cloud-contract-maven-plugin/source-repository.html new file mode 100644 index 0000000000..31a96f3926 --- /dev/null +++ b/1.0.x/spring-cloud-contract-maven-plugin/source-repository.html @@ -0,0 +1,359 @@ + + + + + + + + + Spring Cloud Contract Maven Plugin – Source Code Management + + + + + + + + + + + + + + + + + Fork me on GitHub + + + + + + + + + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Overview

    +

    This project uses Git to manage its source code. Instructions on Git use can be found at http://git-scm.com/documentation.

    +
    +

    Web Browser Access

    +

    The following is a link to a browsable version of the source repository:

    +
    +
    +

    Anonymous Access

    +

    The source can be checked out anonymously from Git with this command (See http://git-scm.com/docs/git-clone):

    +
    $ git clone https://github.com/spring-cloud/spring-cloud-contract.git
    +
    +

    Developer Access

    +

    Only project developers can access the Git tree via this method (See http://git-scm.com/docs/git-clone).

    +
    $ git clone git@github.com:spring-cloud/spring-cloud-contract.git
    +
    +

    Access from Behind a Firewall

    +

    Refer to the documentation of the SCM used for more information about access behind a firewall.

    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/spock.html b/1.0.x/spring-cloud-contract-maven-plugin/spock.html index 6b50124eac..e13183a155 100644 --- a/1.0.x/spring-cloud-contract-maven-plugin/spock.html +++ b/1.0.x/spring-cloud-contract-maven-plugin/spock.html @@ -9,7 +9,7 @@ - Spring Cloud Contract Verifier Maven Plugin – + Spring Cloud Contract Maven Plugin – @@ -66,6 +66,9 @@
  • Complex Configuration
  • + +
  • Configuration snippets +
  • Spring Cloud Contract
  • + + @@ -161,6 +203,13 @@ Complex Configuration + + +
  • + + + + Configuration snippets
  • @@ -170,6 +219,21 @@ Spring Cloud Contract + + +
  • + + + + Project Information +
  • + +
  • + + + + Project Reports +
  • @@ -287,7 +351,7 @@
    /**
      *
    - *  Copyright 2013-2016 the original author or authors.
    + *  Copyright 2013-2017 the original author or authors.
      *
      *  Licensed under the Apache License, Version 2.0 (the "License");
      *  you may not use this file except in compliance with the License.
    diff --git a/1.0.x/spring-cloud-contract-maven-plugin/team-list.html b/1.0.x/spring-cloud-contract-maven-plugin/team-list.html
    new file mode 100644
    index 0000000000..3ed5018c3a
    --- /dev/null
    +++ b/1.0.x/spring-cloud-contract-maven-plugin/team-list.html
    @@ -0,0 +1,372 @@
    +
    +
    +
    +  
    +    
    +    
    +    
    +    
    +    Spring Cloud Contract Maven Plugin – Project Team
    +    
    +    
    +    
    +
    +      
    +    
    +
    +                      
    +        
    +          
    +    
    +    
    +            
    +    
    +        
    +    
    +      Fork me on GitHub
    +    
    +  
    +                
    +                    
    +                
    +
    +    
    +    
    + +
    + + + + + +
    +
    + +
    + + +
    + +
    +

    Project Team

    +

    A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.

    +

    The project team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.

    +
    +

    Members

    +

    The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.

    + + + + + + + + + + + + + + + + + + + + +
    ImageIdNameEmail
    mariuszsMariusz Smykulamariuszs@gmail.com
    marcingrzejszczakMarcin Grzejszczakmgrzejszczak@pivotal.io
    dsyerDavid Syerdsyer@pivotal.io
    +
    +

    Contributors

    +

    There are no contributors listed for this project. Please check back again later.

    +
    +
    +
    + +
    + +
    +
    +
    +

    Copyright © 2016–2017 + Spring. + All rights reserved. +

    +
    + + +
    +
    + + diff --git a/1.0.x/spring-cloud-contract-maven-plugin/usage.html b/1.0.x/spring-cloud-contract-maven-plugin/usage.html index 9d77d03b08..b326e94b67 100644 --- a/1.0.x/spring-cloud-contract-maven-plugin/usage.html +++ b/1.0.x/spring-cloud-contract-maven-plugin/usage.html @@ -9,7 +9,7 @@ - Spring Cloud Contract Verifier Maven Plugin – + Spring Cloud Contract Maven Plugin – @@ -66,6 +66,9 @@
  • Complex Configuration
  • + +
  • Configuration snippets +
  • Spring Cloud Contract
  • + + @@ -161,6 +203,13 @@ Complex Configuration + + +
  • + + + + Configuration snippets
  • @@ -170,6 +219,21 @@ Spring Cloud Contract + + +
  • + + + + Project Information +
  • + +
  • + + + + Project Reports +
  • @@ -267,7 +331,7 @@

    -1. Additional configuration inside ~/.m2/settings.xml is required: <pluginGroups><pluginGroup>io.codearte.Spring Cloud Contract</pluginGroup></pluginGroups>. +1. Additional configuration inside ~/.m2/settings.xml is required: <pluginGroups><pluginGroup> org.springramework.cloud:spring-cloud-contract-maven-plugin</pluginGroup></pluginGroups>.
    diff --git a/1.0.x/spring-cloud-contract.html b/1.0.x/spring-cloud-contract.html index 5be567ea73..8f6bee031f 100644 --- a/1.0.x/spring-cloud-contract.html +++ b/1.0.x/spring-cloud-contract.html @@ -2631,7 +2631,7 @@ one to one to the contents of the repo.

    -

    As you can see there are no dependencies other than the Spring Cloud Contract Verifier Maven plugin. +

    As you can see there are no dependencies other than the Spring Cloud Contract Maven Plugin. Those poms are necessary for the consumer side to run mvn clean install -DskipTests to locally install stubs of the producer project.

    @@ -3503,7 +3503,7 @@ Let’s take a look at the following example:

    <baseClassMapping> <contractPackageRegex>.*com.*</contractPackageRegex> <baseClassFQN>com.example.TestBase</baseClassFQN> - </baseClassMapping > + </baseClassMapping> </baseClassMappings> </configuration> </plugin>
    @@ -3524,7 +3524,7 @@ will be extending the com.example.ComBase whereas the rest of tests
    Invoking generated tests
    -

    Spring Cloud Contract Verifier Maven Plugin generates verification code into directory /generated-test-sources/contractVerifier and attach this directory to testCompile goal.

    +

    Spring Cloud Contract Maven Plugin generates verification code into directory /generated-test-sources/contractVerifier and attach this directory to testCompile goal.

    For Groovy Spock code use:

    @@ -4456,7 +4456,7 @@ Check their docs for more informat
    /*
    - *  Copyright 2013-2016 the original author or authors.
    + *  Copyright 2013-2017 the original author or authors.
      *
      *  Licensed under the Apache License, Version 2.0 (the "License");
      *  you may not use this file except in compliance with the License.
    @@ -5136,7 +5136,7 @@ the Stub Runner Boot.

    /*
    - *  Copyright 2013-2016 the original author or authors.
    + *  Copyright 2013-2017 the original author or authors.
      *
      *  Licensed under the Apache License, Version 2.0 (the "License");
      *  you may not use this file except in compliance with the License.
    @@ -5515,7 +5515,7 @@ Remember to annotate your test class with @AutoConfigureMessageVerifier
     
    <?xml version="1.0" encoding="UTF-8"?>
     <!--
    -  ~  Copyright 2013-2016 the original author or authors.
    +  ~  Copyright 2013-2017 the original author or authors.
       ~
       ~  Licensed under the Apache License, Version 2.0 (the "License");
       ~  you may not use this file except in compliance with the License.