Hi

I am trying to shade a package with following tags

<relocation>
    <pattern>org.example.pkg</pattern>
<shadedPattern>org.example.shaded.pkg</shadedPattern>
</relocation>

I also have a string in one of my class which matches the pattern gets

modified during shading

    public static void main (String [] args) {
        System.out.println ("org.example.pkg."); //prints org.example.shaded.pkg.         System.out.println ("org.example.PKG.".toLowerCase()); //prints org.example.pkg.
    }

Is this expected behavior ?

I was thinking about making use of this behavior. Will it be safe to do so ?

Or its something undocumented so might change without prior notice ?


thanks

Anurag


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

Reply via email to