jafarre-bi opened a new issue, #798: URL: https://github.com/apache/maven-shade-plugin/issues/798
### Affected version 3.6.2 ### Bug description I'm transforming the files META-INF/maven/org.apache.maven.api.di.Inject using the AppendingTransformer. After each merged file, it adds an empty line. From what I see in the code, it blindly adds a line feed after appending each file's contents, so it generates an empty line for each file that ends with a line feed. Unfortunately, maven-di tries to load empty entries, resulting in exceptions. I can think of two possible solutions: 1. Only append a line feed if the last written character wasn't a line feed itself. 2. Add an option that allows filtering out any empty lines. -- 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]
