maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trask Stalnaker (JIRA)" <j...@codehaus.org>
Subject [jira] (MSHADE-182) ServicesResourceTransformer incorrectly ignores given Relocators
Date Sun, 23 Nov 2014 21:13:10 GMT

     [ https://jira.codehaus.org/browse/MSHADE-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Trask Stalnaker updated MSHADE-182:
-----------------------------------

    Attachment: MSHADE-182-test.patch

Test attached.  Please review.  Thanks.

> ServicesResourceTransformer incorrectly ignores given Relocators
> ----------------------------------------------------------------
>
>                 Key: MSHADE-182
>                 URL: https://jira.codehaus.org/browse/MSHADE-182
>             Project: Maven Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Thomas Kielbus
>         Attachments: MSHADE-182.patch, MSHADE-182.patch, MSHADE-182-test.patch
>
>
> When using the ServicesResourceTransformer in conjunction with relocators for classes
that have META-INF/services/ entries, the behavior of the Shade Plugin is unexpected because
those services files entries do not get relocated.
> For example:
> Relocator: org.foo.Clazz to org.foo.shaded.Clazz
> Services files: META-INF/services/org.foo.Clazz
> We would expect a services file at META-INF/services/org.foo.shaded.Clazz in the shaded
jar, but that does not happen (the file remains at META-INF/services/org.foo.Clazz) since
the ServicesResourceTransformer ignores the given Relocators.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message