Skip to content

Commit

Permalink
Revert "Remove the SHADE plugin - it is no longer needed with the lat…
Browse files Browse the repository at this point in the history
…est library version from Jena"

This reverts commit 1aa8794.
  • Loading branch information
goneall committed Apr 6, 2019
1 parent 1aa8794 commit 941c765
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,50 @@ This license is based on the Apache Software License, version 1.1.</extractedTex
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.spdx.tools.Main</mainClass>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
<addHeader>false</addHeader>
</transformer>
</transformers>
<filters>
<filter>
<!-- Conflict with HTMLParser 1.4 -->
<artifact>com.yevster.net.rootdev:java-rdfa</artifact>
<excludes>
<exclude>nu/validator/htmlparser/**</exclude>
</excludes>
</filter>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
<executions>
<execution>
<phase>package</phase>
<!--<phase /><!- - Switch off -->
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
Expand Down

0 comments on commit 941c765

Please # to comment.