fridrich opened a new pull request, #303: URL: https://github.com/apache/maven-filtering/pull/303
Some projects have among the test resources various binary files along with property files that actually need to be filtered. The binary files can be for instance dummy P12 or JKS files. When the pom.xml has filtering enabled for those resources, the parser tries to parse them as text files with the given encoding. But they are more then likely not to be valid UTF-8 or ISO-8859-1, ... files. An MalformedInputException is thrown in that case. This fix catches that exception if it is thrown and, in that case, assumes that the file is a binary and copies it without filtering. The included test will fail without the fix and pass with the fix -- 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]
