arturobernalg opened a new pull request, #906: URL: https://github.com/apache/maven-shade-plugin/pull/906
ServicesResourceTransformer relocated a META-INF/services entry's content via applyToSourceContent(), which requires a regex word boundary on both sides of the matched pattern since it's meant to shade Java source text. A plain provider class name isn't source text, and a boundary is missing when the match isn't followed by a separator, e.g. "org.apache.demo1" against pattern "org.apache.demo": the line was left completely unrelocated. Relocate it with relocateClass() instead, the same call already used one line above for the service file's own name. Fixes #482. --- To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) check one of the following: - [x] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) - [x] I hereby declare that I have filed an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
