diff --git a/maven-example/pom.xml b/maven-example/pom.xml new file mode 100644 index 000000000..4a65e7989 --- /dev/null +++ b/maven-example/pom.xml @@ -0,0 +1,40 @@ + + + + openapi-diff-parent + org.openapitools.openapidiff + 2.0.0-SNAPSHOT + + 4.0.0 + + openapi-diff-maven-example + jar + + openapi-diff-maven-example + Example usage of maven plugin for openapi-diff + + + + + org.openapitools.openapidiff + openapi-diff-maven + 2.0.0-SNAPSHOT + + + + diff + + + ${project.basedir}/../maven/src/test/resources/oldspec.yaml + ${project.basedir}/../maven/src/test/resources/newspec.yaml + true + + + + + + + + \ No newline at end of file diff --git a/maven/pom.xml b/maven/pom.xml index 0da54d38b..7444e624a 100644 --- a/maven/pom.xml +++ b/maven/pom.xml @@ -9,7 +9,7 @@ openapi-diff-maven - jar + maven-plugin openapi-diff-maven Maven plugin for openapi-diff diff --git a/pom.xml b/pom.xml index 0ae4c3d2a..437783a03 100644 --- a/pom.xml +++ b/pom.xml @@ -4,6 +4,7 @@ core cli maven + maven-example org.openapitools.openapidiff