maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Maven shade transforming internal strings?
Date Mon, 23 Jul 2012 16:01:20 GMT
Hmm.

You don't have a <pattern> element, so shade is going hog-wild. I
appreciate that you're asking a specific question about controlling
its behavior for string constants, but is it possible that you could
come up with a pattern that wouldn't hit things like 'os.name'?





On Mon, Jul 23, 2012 at 10:37 AM, Jason Rutherglen
<jason.rutherglen@gmail.com> wrote:
> Hi Benson, This is the xml for the transform:
>
> http://pastebin.com/9nx18WiN
>
> Thanks!
>
> On Mon, Jul 23, 2012 at 10:21 AM, Benson Margulies <bimargulies@gmail.com>wrote:
>
>> On Mon, Jul 23, 2012 at 12:16 AM, Jason Rutherglen
>> <jason.rutherglen@gmail.com> wrote:
>> > I'm shade transforming Apache Solr, which has several dependencies and
>> > seems to work.
>> >
>> > However the internal class strings are being transformed, eg
>> > 'System.getProperty("os.name");' where 'os.name' is being transformed
>> to '
>> > shade.package.os.name'.  Other than excluding every internal string, how
>> > can I turn off the transformation of internal class strings?
>>
>> What were your transformation rules?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message