Skip to content

Commit a1ebb14

Browse files
authored
Merge pull request #1784 from swagger-api/actionManifest
Adding plugin to identify main Class
2 parents 1478517 + 4caa56e commit a1ebb14

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

modules/swagger-parser-cli/pom.xml

+11
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@
2626
</resource>
2727
</resources>
2828
<plugins>
29+
<plugin>
30+
<groupId>org.apache.maven.plugins</groupId>
31+
<artifactId>maven-jar-plugin</artifactId>
32+
<configuration>
33+
<archive>
34+
<manifest>
35+
<mainClass>io.swagger.v3.parser.SwaggerParser</mainClass>
36+
</manifest>
37+
</archive>
38+
</configuration>
39+
</plugin>
2940
<plugin>
3041
<groupId>org.apache.maven.plugins</groupId>
3142
<artifactId>maven-shade-plugin</artifactId>

0 commit comments

Comments
 (0)