Merge pull request #983 from jvanzyl/master

Add Main-Class attribute to shaded tool JAR
This commit is contained in:
Terence Parr 2015-08-20 11:27:49 -07:00
commit 53ec1956ab
1 changed files with 7 additions and 0 deletions

View File

@ -98,6 +98,13 @@
<phase>package</phase>
<configuration>
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>org.antlr.v4.Tool</Main-Class>
</manifestEntries>
</transformer>
</transformers>
</configuration>
<goals>
<goal>shade</goal>