Fork me on GitHub

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

Unresolved directive in <stdin> - include::{root_folder}/src/test/projects/complex-configuration/pom.xml[tags=plugin]

Base Test class

Unresolved directive in <stdin> - include::{root_folder}/src/test/projects/complex-configuration/src/test/java/com/blogspot/toomuchcoding/frauddetection/BaseAccurest.java[]

Sample additional matcher

Unresolved directive in <stdin> - include::{root_folder}/src/test/projects/complex-configuration/src/test/java/com/blogspot/toomuchcoding/frauddetection/matchers/CustomMatchers.java[]

Sample contract using matcher

Unresolved directive in <stdin> - include::{root_folder}/src/test/projects/complex-configuration/src/test/contracts/shouldMarkClientAsNotFraud.groovy[]

More samples

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