Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.4.3
-
None
-
None
Description
I am trying to shade jersey (com.sun.jersey) packages.
following is my pom entry
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
<minimizeJar>false</minimizeJar>
<keepDependenciesWithProvidedScope>false</keepDependenciesWithProvidedScope>
<shadedArtifactAttached>true</shadedArtifactAttached>
<relocations>
<relocation>
<pattern>com.sun.jersey</pattern>
<shadedPattern>route66.com.sun.jersey</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.yahoo.infox.route66.udf.ContentExtractorUdf</mainClass>
</transformer>
<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>
I am using org.apache.maven.plugins.shade.resource.ServicesResourceTransformer to tranforms class names in META-INF/services files.
Plugin is transforming class names in META-INF/services/* files correctly. But it not transforming the filenames.
Attachments
Attachments
Issue Links
- duplicates
-
MSHADE-182 ServicesResourceTransformer incorrectly ignores given Relocators
- Closed