Skip to content

Commit

Permalink
doc: small fix maven vs mvn (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
torrespro authored Jun 2, 2022
1 parent edd17d8 commit 7c3b369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Inside the configuration tag, you must declare the **contractsDirectory** tag. I

Also, we recommend specifying the **baseClassForTests** tag. This tag indicates the base class from which the autogenerated test will be extended. This class must be a test class of the producer part in which only a call to the producer method will be made, which is necessary for the test of the producer of the autogenerated class.

Once you specify this in your pom.xml you must use the command: **maven** **clean** **install**. This will generate the stubs necessary for the contract testing generation under the stubs folder.
Once you specify this in your pom.xml you must use the command: **mvn** **clean** **install**. This will generate the stubs necessary for the contract testing generation under the stubs folder.

It will also generate the ContractVerifierTest class for the producer and consumer tests for your Messaging Api and your Rest Api, in addition to the corresponding yml files with the contracts of both, inside target in the package where your baseClassForTests is located. If you want to change where your contracts will be located you must use the basePackageForTests tag in the pom.xml.

Expand Down Expand Up @@ -187,4 +187,4 @@ Currently, this plugin has some limitations that will be addressed in the future
- Add implementation to support AllOfs, AnyOfs and OneOfs in AsyncApi.
- Add support for generating contracts from avro files.
- Further investigation for OpenApi/AsyncApi and Spring Cloud Contract possibilities.
- More testing and fixing possible bugs that may occur in the future.
- More testing and fixing possible bugs that may occur in the future.

0 comments on commit 7c3b369

Please sign in to comment.