diff --git a/spring-cloud-contract.html b/spring-cloud-contract.html index 32fcd39e39..a13e7a43da 100644 --- a/spring-cloud-contract.html +++ b/spring-cloud-contract.html @@ -3021,21 +3021,17 @@ extended by the autogenerated tests. You have two options:

The convention is such that if you have a contract under e.g. src/test/resources/contract/hello/v1/ and provide the value of the packageWithBaseClasses property to hello then we will assume that there is a HelloV1Base class under hello package. In other words we take last two parts of package -if they exist and form a class with a Base suffix. Takes precedence over baseClassForTests. Example of usage in the contracts closure:

+if they exist and form a class with a Base suffix. Takes precedence over baseClassForTests. Example of usage:

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