maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [maven-ear-plugin] mabrarov edited a comment on pull request #15: [MEAR-285] check return value from mkdirs
Date Thu, 01 Oct 2020 17:42:10 GMT

mabrarov edited a comment on pull request #15:
URL: https://github.com/apache/maven-ear-plugin/pull/15#issuecomment-702158521


   @elharo, I discussed this issue with @zzzLobster and we decided that I'll take care of
openning new bug.
   
   At the moment I'm able to reproduce this issue on Windows 10 x64 with https://github.com/mabrarov/dockerfile-test:
   
   ```
   $ git clone --branch develop https://github.com/mabrarov/dockerfile-test.git &&
\
   mvn -f dockerfile-test/pom.xml package -Dmaven-ear-plugin.version=3.1.0 -Ddocker.skip &&
\
   mvn -f dockerfile-test/pom.xml package -Dmaven-ear-plugin.version=3.1.0 -Ddocker.skip
   ...
   [INFO] --- maven-ear-plugin:3.1.0:ear (default-ear) @ ear ---
   [INFO] Copying artifact [war:org.mabrarov.dockerfile-test:war:1.1.7-SNAPSHOT] to [org.mabrarov.dockerfile-test-war-1.1.7-SNAPSHOT.war]
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary for dockerfile-test 1.1.7-SNAPSHOT:
   [INFO] 
   [INFO] dockerfile-test .................................... SUCCESS [  1.728 s]
   [INFO] war ................................................ SUCCESS [  3.652 s]
   [INFO] ear ................................................ FAILURE [  0.371 s]
   [INFO] base-image ......................................... SUCCESS [  2.297 s]
   [INFO] hollow-image ....................................... SUCCESS [  1.152 s]
   [INFO] app-image .......................................... SKIPPED
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  6.011 s (Wall Clock)
   [INFO] Finished at: 2020-10-01T14:34:15+03:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-ear-plugin:3.1.0:ear (default-ear)
on project ear: Failed to create directory D:\Users\Marat\Documents\work\java\dockerfile-test\ear\target\temp\org.mabrarov.dockerfile-test-war-1.1.7-SNAPSHOT.war
-> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please read the following
articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the command
   [ERROR]   mvn <goals> -rf :ear
   ```
   
   I'm in the process of creation of integration test in maven-ear-plugin repository to reproduce
this issue and to validate fix of @zzzLobster.
   
   I believe I'll complete my actions within next 12-24 hrs.


----------------------------------------------------------------
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:
users@infra.apache.org



Mime
View raw message