Skip to content

Commit f8bc88c

Browse files
committed
vo-generated-shaded-jar-shaded-xml
1 parent 4e47d4a commit f8bc88c

File tree

1 file changed

+117
-0
lines changed

1 file changed

+117
-0
lines changed

dependency-reduced-pom.xml

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>io.github.venkat1701</groupId>
5+
<artifactId>openapi-java-parser</artifactId>
6+
<version>1.0.0</version>
7+
<build>
8+
<plugins>
9+
<plugin>
10+
<groupId>org.openapitools</groupId>
11+
<artifactId>openapi-generator-maven-plugin</artifactId>
12+
<version>6.6.0</version>
13+
<executions>
14+
<execution>
15+
<id>generate-api-client</id>
16+
<goals>
17+
<goal>generate</goal>
18+
</goals>
19+
<configuration>
20+
<inputSpec>${project.basedir}/src/main/resources/openapi.yaml</inputSpec>
21+
<generatorName>java</generatorName>
22+
<output>${project.build.directory}/generated-sources</output>
23+
<apiPackage>com.example.api</apiPackage>
24+
<modelPackage>com.example.model</modelPackage>
25+
<configOptions>
26+
<dateLibrary>java8</dateLibrary>
27+
</configOptions>
28+
</configuration>
29+
</execution>
30+
</executions>
31+
</plugin>
32+
<plugin>
33+
<artifactId>maven-jar-plugin</artifactId>
34+
<version>3.2.0</version>
35+
<configuration>
36+
<archive>
37+
<manifest>
38+
<mainClass>io.github.venkat1701.build.cli.OpenApiProjectGeneratorCLI</mainClass>
39+
</manifest>
40+
</archive>
41+
</configuration>
42+
</plugin>
43+
<plugin>
44+
<artifactId>maven-compiler-plugin</artifactId>
45+
<version>3.8.1</version>
46+
<configuration>
47+
<source>23</source>
48+
<target>23</target>
49+
</configuration>
50+
</plugin>
51+
<plugin>
52+
<artifactId>maven-shade-plugin</artifactId>
53+
<version>3.3.0</version>
54+
<executions>
55+
<execution>
56+
<phase>package</phase>
57+
<goals>
58+
<goal>shade</goal>
59+
</goals>
60+
<configuration>
61+
<createDependencyReducedPom>true</createDependencyReducedPom>
62+
<transformers>
63+
<transformer />
64+
<transformer>
65+
<mainClass>io.github.venkat1701.build.cli.OpenApiProjectGeneratorCLI</mainClass>
66+
</transformer>
67+
</transformers>
68+
</configuration>
69+
</execution>
70+
</executions>
71+
</plugin>
72+
<plugin>
73+
<artifactId>maven-clean-plugin</artifactId>
74+
<version>3.1.0</version>
75+
</plugin>
76+
</plugins>
77+
</build>
78+
<dependencies>
79+
<dependency>
80+
<groupId>org.projectlombok</groupId>
81+
<artifactId>lombok</artifactId>
82+
<version>1.18.26</version>
83+
<scope>provided</scope>
84+
</dependency>
85+
<dependency>
86+
<groupId>javax.ws.rs</groupId>
87+
<artifactId>javax.ws.rs-api</artifactId>
88+
<version>2.1.1</version>
89+
<scope>provided</scope>
90+
</dependency>
91+
<dependency>
92+
<groupId>org.junit.jupiter</groupId>
93+
<artifactId>junit-jupiter-api</artifactId>
94+
<version>5.9.1</version>
95+
<scope>test</scope>
96+
<exclusions>
97+
<exclusion>
98+
<artifactId>opentest4j</artifactId>
99+
<groupId>org.opentest4j</groupId>
100+
</exclusion>
101+
<exclusion>
102+
<artifactId>junit-platform-commons</artifactId>
103+
<groupId>org.junit.platform</groupId>
104+
</exclusion>
105+
<exclusion>
106+
<artifactId>apiguardian-api</artifactId>
107+
<groupId>org.apiguardian</groupId>
108+
</exclusion>
109+
</exclusions>
110+
</dependency>
111+
</dependencies>
112+
<properties>
113+
<maven.compiler.target>23</maven.compiler.target>
114+
<maven.compiler.source>23</maven.compiler.source>
115+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
116+
</properties>
117+
</project>

0 commit comments

Comments
 (0)