Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
3.2.12
-
None
-
None
-
build
Description
Certain Rya projects that use the maven-shade-plugin, such as rya.prospector, are not producing a shaded jar in their target directories. This is due to the phase and goal being excluded in the <execution>, at least for rya.prospector.
All projects that use maven-shade-plugin should be checked. The following fixes the issue for rya.prospector:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>map-reduce</shadedClassifierName>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
</transformers>
<filters>
<filter>
<artifact>:</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
Attachments
Issue Links
- duplicates
-
RYA-485 fix maven-shade-plugin usage
-
- Resolved
-