File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <parent >
6+ <artifactId >openapi-diff-parent</artifactId >
7+ <groupId >org.openapitools.openapidiff</groupId >
8+ <version >2.0.0-SNAPSHOT</version >
9+ </parent >
10+ <modelVersion >4.0.0</modelVersion >
11+
12+ <artifactId >openapi-diff-maven-example</artifactId >
13+ <packaging >jar</packaging >
14+
15+ <name >openapi-diff-maven-example</name >
16+ <description >Example usage of maven plugin for openapi-diff</description >
17+
18+ <build >
19+ <plugins >
20+ <plugin >
21+ <groupId >org.openapitools.openapidiff</groupId >
22+ <artifactId >openapi-diff-maven</artifactId >
23+ <version >2.0.0-SNAPSHOT</version >
24+ <executions >
25+ <execution >
26+ <goals >
27+ <goal >diff</goal >
28+ </goals >
29+ <configuration >
30+ <oldSpec >${project.basedir} /../maven/src/test/resources/oldspec.yaml</oldSpec >
31+ <newSpec >${project.basedir} /../maven/src/test/resources/newspec.yaml</newSpec >
32+ <failOnIncompatible >true</failOnIncompatible >
33+ </configuration >
34+ </execution >
35+ </executions >
36+ </plugin >
37+ </plugins >
38+ </build >
39+
40+ </project >
Original file line number Diff line number Diff line change 99 </parent >
1010
1111 <artifactId >openapi-diff-maven</artifactId >
12- <packaging >jar </packaging >
12+ <packaging >maven-plugin </packaging >
1313
1414 <name >openapi-diff-maven</name >
1515 <description >Maven plugin for openapi-diff</description >
Original file line number Diff line number Diff line change 44 <module >core</module >
55 <module >cli</module >
66 <module >maven</module >
7+ <module >maven-example</module >
78 </modules >
89
910 <groupId >org.openapitools.openapidiff</groupId >
You can’t perform that action at this time.
0 commit comments