MateusJunior7 opened a new pull request, #1029: URL: https://github.com/apache/maven-plugin-tools/pull/1029
This PR addresses a RV_RETURN_VALUE_IGNORED_BAD_PRACTICE warning reported by SpotBugs in org.apache.maven.plugin.plugin.DescriptorGeneratorMojo.generate(). The call to java.io.File.mkdirs() previously ignored its boolean return value. The code now: Checks whether the output directory already exists. Calls mkdirs() only when necessary. Throws a MojoExecutionException when directory creation fails, instead of silently ignoring the error. After this change, the RV warning no longer appears in the SpotBugs report for this class. -- 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]
