maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCarthy (JIRA)" <>
Subject [jira] [Created] (MSHADE-197) Shade fails to relocate packages for all classes
Date Thu, 02 Jul 2015 13:54:04 GMT
Michael McCarthy created MSHADE-197:

             Summary: Shade fails to relocate packages for all classes
                 Key: MSHADE-197
             Project: Maven Shade Plugin
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: Windows 7, Maven 3.0.5
            Reporter: Michael McCarthy

I attempted to relocate the org.apache.http.* packages using the shade plugin on the AWS Java
SDK. This fails to update the location for at least one class,
I manually updated the source code to use the shaded location and it compiled without issue:

import org.shaded.http.client.HttpClient;
import org.shaded.http.client.methods.HttpRequestBase;
import org.shaded.http.conn.EofSensorInputStream;

Before making the above change, the error I get is:

error: no suitable constructor found for S3ObjectInputStream(InputStream,org.shaded.http.client.methods.HttpRequestBase)

The configuration I used in pom.xml was:

for more details. This thread has instructions on how to reproduce as well as links to a Github
project with the changes already made and the error easy to reproduce.

This message was sent by Atlassian JIRA

View raw message