zzzLobster commented on a change in pull request #15:
URL: https://github.com/apache/maven-ear-plugin/pull/15#discussion_r498312562



##########
File path: src/main/java/org/apache/maven/plugins/ear/EarMojo.java
##########
@@ -453,7 +453,10 @@ private void copyModules( final JavaEEVersion 
javaEEVersion,
                 {
                     getLog().info( "Copying artifact [" + module + "] to [" + 
module.getUri() + "] (unpacked)" );
                     // Make sure that the destination is a directory to avoid 
plexus nasty stuff :)
-                    destinationFile.mkdirs();
+                    if ( !destinationFile.mkdirs() )

Review comment:
       Here is the one
   
https://github.com/apache/maven-ear-plugin/commit/ce76c3ea43137f4efedafdb1ee57a69f6954b179#diff-0520547103a4a317e72df7f8c27e3d61R757




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to