Pankraz76 commented on code in PR #2395:
URL: https://github.com/apache/maven/pull/2395#discussion_r2135648709


##########
its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-ear-plugin/src/main/java/org/apache/maven/plugin/coreit/EarMojo.java:
##########
@@ -69,16 +68,6 @@ public void execute() throws MojoExecutionException, 
MojoFailureException {
         if (!outputFile.isAbsolute()) {
             outputFile = new File(project.getBasedir(), 
pathname).getAbsoluteFile();
         }
-
-        getLog().info("[MAVEN-CORE-IT-LOG] Creating output file: " + 
outputFile);
-
-        try {
-            outputFile.getParentFile().mkdirs();
-            outputFile.createNewFile();
-        } catch (IOException e) {
-            throw new MojoExecutionException("Output file could not be 
created: " + pathname, e);
-        }
-
-        getLog().info("[MAVEN-CORE-IT-LOG] Created output file: " + 
outputFile);

Review Comment:
   having no error implies its done. 
   same philosophy in:
   no complain is prais enough.



-- 
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