[ 
https://issues.apache.org/jira/browse/MEAR-291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Wildgruber updated MEAR-291:
-----------------------------------
    Description: 
{{Caused by: org.apache.maven.plugin.MojoFailureException: Failed to create 
directory }}{{.......}}{{/target/temp/xxx.war}}
 {{at org.apache.maven.plugins.ear.EarMojo.changeManifestClasspath 
(EarMojo.java:763)}}
 {{at org.apache.maven.plugins.ear.EarMojo.copyModules (EarMojo.java:466)}}
 {{at org.apache.maven.plugins.ear.EarMojo.execute (EarMojo.java:336)}}
  

(mkdirs() returns false if there was nothing that had to be created (f.e. the 
directory still exists from a previous run))
  

  was:
{{Caused by: org.apache.maven.plugin.MojoFailureException: Failed to create 
directory }}{{.......}}{{/target/temp/xxx.war}}
 {{at org.apache.maven.plugins.ear.EarMojo.changeManifestClasspath 
(EarMojo.java:763)}}
 {{at org.apache.maven.plugins.ear.EarMojo.copyModules (EarMojo.java:466)}}
 {{at org.apache.maven.plugins.ear.EarMojo.execute (EarMojo.java:336)}}
  

mkdirs() also returns false if there was nothing that had to be created (f.e. 
the directory still exists from a previous run)
  


> Exception "Failed to create directory..." thrown if "workDirectory" already 
> exists
> ----------------------------------------------------------------------------------
>
>                 Key: MEAR-291
>                 URL: https://issues.apache.org/jira/browse/MEAR-291
>             Project: Maven EAR Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Tobias Wildgruber
>            Priority: Major
>
> {{Caused by: org.apache.maven.plugin.MojoFailureException: Failed to create 
> directory }}{{.......}}{{/target/temp/xxx.war}}
>  {{at org.apache.maven.plugins.ear.EarMojo.changeManifestClasspath 
> (EarMojo.java:763)}}
>  {{at org.apache.maven.plugins.ear.EarMojo.copyModules (EarMojo.java:466)}}
>  {{at org.apache.maven.plugins.ear.EarMojo.execute (EarMojo.java:336)}}
>   
> (mkdirs() returns false if there was nothing that had to be created (f.e. the 
> directory still exists from a previous run))
>   



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

Reply via email to