[ 
https://issues.apache.org/jira/browse/MEAR-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212354#comment-17212354
 ] 

Hudson commented on MEAR-287:
-----------------------------

Build succeeded in Jenkins: Maven » Maven TLP » maven-ear-plugin » master #35

See 
https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-ear-plugin/job/master/35/

> Failed to create target directory when run without clean
> --------------------------------------------------------
>
>                 Key: MEAR-287
>                 URL: https://issues.apache.org/jira/browse/MEAR-287
>             Project: Maven Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Mikhail Gavrilov
>            Assignee: Elliotte Rusty Harold
>            Priority: Major
>             Fix For: 3.1.1
>
>
> Steps to reproduce:
>  # Checkout [https://github.com/mabrarov/dockerfile-test]
>  # Set version of maven-ear-plugin in pom.xml to '3.1.0'
>  # Execute: {{mvn clean package -Ddocker.skip && mvn package -Ddocker.skip}}
> {code:bash}
> $ 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 
> XXX...\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
> {code}
> The same is described 
> [here|https://github.com/apache/maven-ear-plugin/pull/15#issuecomment-702158521]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to