anchor.diff:  
   [source,groovy,indent=0]
   ----
  -Unresolved directive in verifier/introduction.adoc - include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-contract/1.0.x/samples/standalone/dsl/http-client/src/test/java/com/example/loan/LoanApplicationServiceTests.java[tags=client_tdd,indent=0]
  +@Test
  +public void shouldBeRejectedDueToAbnormalLoanAmount() {
  +    // given:
  +    LoanApplication application = new LoanApplication(new Client("1234567890"),
  +            99999);
  +    // when:
  +    LoanApplicationResult loanApplication = service.loanApplication(application);
  +    // then:
  +    assertThat(loanApplication.getLoanApplicationStatus())
  +            .isEqualTo(LoanApplicationStatus.LOAN_APPLICATION_REJECTED);
  +    assertThat(loanApplication.getRejectionReason()).isEqualTo("Amount too high");
  +}
   ----
   
   We've just written a test of our new feature. If a loan application for a big amount is received we should reject that loan application with some description.
  
positive.code: 
  [source,java,indent=0]
  ----
  Unresolved directive in verifier/introduction.adoc - include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-contract/1.0.x/samples/standalone/dsl/http-server/src/main/java/com/example/fraud/FraudDetectionController.java[tags=server_api,indent=0]
  Unresolved directive in verifier/introduction.adoc - include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-contract/1.0.x/samples/standalone/dsl/http-server/src/main/java/com/example/fraud/FraudDetectionController.java[tags=new_impl,indent=0]
  Unresolved directive in verifier/introduction.adoc - include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-contract/1.0.x/samples/standalone/dsl/http-server/src/main/java/com/example/fraud/FraudDetectionController.java[tags=initial_impl,indent=0]
  }
  ----
  
  
negative.code: 
  [source,xml,indent=0]
  ----
  <?xml version="1.0" encoding="UTF-8"?>
  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  		 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  	<modelVersion>4.0.0</modelVersion>
  
  	<groupId>com.example.standalone</groupId>
  	<artifactId>contracts</artifactId>
  	<version>0.0.1-SNAPSHOT</version>
  
  	<name>Contracts</name>
  	<description>Contains all the Spring Cloud Contracts, well, contracts. JAR used by the producers to generate tests and stubs</description>
  
  	<properties>
  		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  	</properties>
  
  	<build>
  		<plugins>
  			<plugin>
  				<groupId>org.apache.maven.plugins</groupId>
  				<artifactId>maven-assembly-plugin</artifactId>
  				<executions>
  					<execution>
  						<id>contracts</id>
  						<phase>prepare-package</phase>
  						<goals>
  							<goal>single</goal>
  						</goals>
  						<configuration>
  							<attach>true</attach>
  							<descriptor>${basedir}/src/assembly/contracts.xml</descriptor>
  							<!-- If you want an explicit classifier remove the following line -->
  							<appendAssemblyId>false</appendAssemblyId>
  						</configuration>
  					</execution>
  				</executions>
  			</plugin>
  		</plugins>
  	</build>
  
  </project>
  ----
  
  It's using the assembly plugin in order to build the JAR with all the contracts. Example of such setup is here:
  
  [source,xml,indent=0]
  ----
  <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
  		  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  		  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
  	<id>project</id>
  	<formats>
  		<format>jar</format>
  	</formats>
  	<includeBaseDirectory>false</includeBaseDirectory>
  	<fileSets>
  		<fileSet>
  			<directory>${project.basedir}</directory>
  			<outputDirectory>/</outputDirectory>
  			<useDefaultExcludes>true</useDefaultExcludes>
  			<excludes>
  				<exclude>**/${project.build.directory}/**</exclude>
  				<exclude>mvnw</exclude>
  				<exclude>mvnw.cmd</exclude>
  				<exclude>.mvn/**</exclude>
  				<exclude>src/**</exclude>
  			</excludes>
  		</fileSet>
  	</fileSets>
  </assembly>
  ----
  
  ===== Workflow
  
  