Updated maven docs
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
== More Complex Plugin Configuration
|
||||
|
||||
Sample more complex configuration for Java Project with JUnit tests.
|
||||
|
||||
|
||||
=== Project configuration for Spring Cloud Contract Verifier with JUnit tests and stub publishing
|
||||
|
||||
[source,xml]
|
||||
----
|
||||
include::{root_folder}/src/test/projects/complex-configuration/pom.xml[tags=plugin]
|
||||
----
|
||||
|
||||
=== Base Test class
|
||||
|
||||
[source,java]
|
||||
----
|
||||
include::{root_folder}/src/test/projects/complex-configuration/src/test/java/com/blogspot/toomuchcoding/frauddetection/BaseAccurest.java[]
|
||||
----
|
||||
|
||||
|
||||
=== Sample additional matcher
|
||||
|
||||
[source,java]
|
||||
----
|
||||
include::{root_folder}/src/test/projects/complex-configuration/src/test/java/com/blogspot/toomuchcoding/frauddetection/matchers/CustomMatchers.java[]
|
||||
----
|
||||
|
||||
=== Sample contract using matcher
|
||||
|
||||
[source,java]
|
||||
----
|
||||
include::{root_folder}/src/test/projects/complex-configuration/src/test/contracts/shouldMarkClientAsNotFraud.groovy[]
|
||||
----
|
||||
|
||||
|
||||
=== Project source code
|
||||
|
||||
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 https://github.com/spring-cloud-samples/spring-cloud-contract-samples[Spring Cloud Contract Samples project] for
|
||||
more examples of Maven plugin setup.
|
||||
@@ -1,3 +1,45 @@
|
||||
:root_folder: ../../..
|
||||
|
||||
include::complex-content.adoc[]
|
||||
== More Complex Plugin Configuration
|
||||
|
||||
Sample more complex configuration for Java Project with JUnit tests.
|
||||
|
||||
|
||||
=== Project configuration for Spring Cloud Contract Verifier with JUnit tests and stub publishing
|
||||
|
||||
[source,xml]
|
||||
----
|
||||
include::{root_folder}/src/test/projects/complex-configuration/pom.xml[tags=plugin]
|
||||
----
|
||||
|
||||
=== Base Test class
|
||||
|
||||
[source,java]
|
||||
----
|
||||
include::{root_folder}/src/test/projects/complex-configuration/src/test/java/com/blogspot/toomuchcoding/frauddetection/BaseAccurest.java[]
|
||||
----
|
||||
|
||||
|
||||
=== Sample additional matcher
|
||||
|
||||
[source,java]
|
||||
----
|
||||
include::{root_folder}/src/test/projects/complex-configuration/src/test/java/com/blogspot/toomuchcoding/frauddetection/matchers/CustomMatchers.java[]
|
||||
----
|
||||
|
||||
=== Sample contract using matcher
|
||||
|
||||
[source,java]
|
||||
----
|
||||
include::{root_folder}/src/test/projects/complex-configuration/src/test/contracts/shouldMarkClientAsNotFraud.groovy[]
|
||||
----
|
||||
|
||||
|
||||
=== Project source code
|
||||
|
||||
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 https://github.com/spring-cloud-samples/spring-cloud-contract-samples[Spring Cloud Contract Samples project] for
|
||||
more examples of Maven plugin setup.
|
||||
Reference in New Issue
Block a user