File tree 3 files changed +42
-1
lines changed
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 9
9
</parent >
10
10
11
11
<artifactId >openapi-diff-maven</artifactId >
12
- <packaging >jar </packaging >
12
+ <packaging >maven-plugin </packaging >
13
13
14
14
<name >openapi-diff-maven</name >
15
15
<description >Maven plugin for openapi-diff</description >
Original file line number Diff line number Diff line change 4
4
<module >core</module >
5
5
<module >cli</module >
6
6
<module >maven</module >
7
+ <module >maven-example</module >
7
8
</modules >
8
9
9
10
<groupId >org.openapitools.openapidiff</groupId >
You can’t perform that action at this time.
0 commit comments