kriegaex opened a new pull request #105:
URL: https://github.com/apache/maven-shade-plugin/pull/105


   Improve search & replace heuristics without destroying previously correct 
replacements in my test project (AspectJ). This solution is still bound to fail 
in some situations, simply because it is just a heuristic approach and not a 
full Java parser correctly recognising package names in all possible situations 
in Java source code. As for matching within Java string constants, this is next 
to impossible to get 100% right.
   
   But the source shading feature is not meant as a source code generator 
anyway, merely as a tool creating reasonably plausible source code when 
navigating to a relocated library class from an IDE, hopefully displaying 
source code which makes 95% sense - no more, no less.
   
   Supersedes #100 and fixes regression a few bugs I found with the new 
approach.
   
   ---
   
   To make clear that you license your contribution under 
   the [Apache License Version 2.0, January 
2004](http://www.apache.org/licenses/LICENSE-2.0)
   you have to acknowledge this by using the following check-box.
   
    - [x] I hereby declare this contribution to be licenced under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to