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 >swagger-parser-project</artifactId >
7
+ <groupId >io.swagger.parser.v3</groupId >
8
+ <version >2.1.2-SNAPSHOT</version >
9
+ <relativePath >../..</relativePath >
10
+ </parent >
11
+ <modelVersion >4.0.0</modelVersion >
12
+
13
+ <artifactId >swagger-parser-cli</artifactId >
14
+ <packaging >jar</packaging >
15
+ <name >swagger-parser (executable)</name >
16
+
17
+ <build >
18
+ <finalName >swagger-parser-cli</finalName >
19
+ <resources >
20
+ <resource >
21
+ <directory >src/main/resources</directory >
22
+ <filtering >true</filtering >
23
+ <excludes >
24
+ <exclude >logback.xml</exclude >
25
+ </excludes >
26
+ </resource >
27
+ </resources >
28
+ <plugins >
29
+ <plugin >
30
+ <groupId >org.apache.maven.plugins</groupId >
31
+ <artifactId >maven-shade-plugin</artifactId >
32
+ <version >2.3</version >
33
+ <executions >
34
+ <execution >
35
+ <id >process-resources</id >
36
+ <phase >package</phase >
37
+ <goals >
38
+ <goal >shade</goal >
39
+ </goals >
40
+ <configuration >
41
+ <minimizeJar >false</minimizeJar >
42
+ <createDependencyReducedPom >true</createDependencyReducedPom >
43
+ <dependencyReducedPomLocation >
44
+ ${java.io.tmpdir} /dependency-reduced-pom.xml
45
+ </dependencyReducedPomLocation >
46
+ <transformers >
47
+ <transformer
48
+ implementation =" org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
49
+ </transformers >
50
+ </configuration >
51
+ </execution >
52
+ </executions >
53
+ </plugin >
54
+ </plugins >
55
+ </build >
56
+
57
+ <dependencies >
58
+ <dependency >
59
+ <groupId >io.swagger.parser.v3</groupId >
60
+ <artifactId >swagger-parser-v3</artifactId >
61
+ <version >2.1.2-SNAPSHOT</version >
62
+ <scope >compile</scope >
63
+ </dependency >
64
+ <dependency >
65
+ <groupId >org.testng</groupId >
66
+ <artifactId >testng</artifactId >
67
+ </dependency >
68
+ </dependencies >
69
+
70
+ <properties >
71
+ <maven .compiler.source>8</maven .compiler.source>
72
+ <maven .compiler.target>8</maven .compiler.target>
73
+ </properties >
74
+
75
+ </project >
0 commit comments