Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions maven-example/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>openapi-diff-parent</artifactId>
<groupId>org.openapitools.openapidiff</groupId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>openapi-diff-maven-example</artifactId>
<packaging>jar</packaging>

<name>openapi-diff-maven-example</name>
<description>Example usage of maven plugin for openapi-diff</description>

<build>
<plugins>
<plugin>
<groupId>org.openapitools.openapidiff</groupId>
<artifactId>openapi-diff-maven</artifactId>
<version>2.0.0-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>diff</goal>
</goals>
<configuration>
<oldSpec>${project.basedir}/../maven/src/test/resources/oldspec.yaml</oldSpec>
<newSpec>${project.basedir}/../maven/src/test/resources/newspec.yaml</newSpec>
<failOnIncompatible>true</failOnIncompatible>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
2 changes: 1 addition & 1 deletion maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>

<artifactId>openapi-diff-maven</artifactId>
<packaging>jar</packaging>
<packaging>maven-plugin</packaging>

<name>openapi-diff-maven</name>
<description>Maven plugin for openapi-diff</description>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<module>core</module>
<module>cli</module>
<module>maven</module>
<module>maven-example</module>
</modules>

<groupId>org.openapitools.openapidiff</groupId>
Expand Down