[ 
https://jira.codehaus.org/browse/MASSEMBLY-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=337628#comment-337628
 ] 

Victor Williams Stafusa da Silva commented on MASSEMBLY-463:
------------------------------------------------------------

I think I'd run into this problem too. My builds sometimes randomly and 
non-deterministically fails claiming that it can't find a file inside my WAR 
package, but the file is always clearly there. If my build fails, I may run it 
once again and it might work. Sometimes it works right on the first try. 
Sometimes I need 2, 3 or 4 tries. Since (at least for me) it's random and 
non-deterministic, I think that some race condition might be the underlying 
cause. BTW, I am using Windows 7.
                
> Assembly fails Problem creating war: JAR entry not found
> --------------------------------------------------------
>
>                 Key: MASSEMBLY-463
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-463
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-5
>         Environment: CentOS or Debian, Java 6.0-16
>            Reporter: Mike Key
>         Attachments: distribution.xml, massembly-463.log, pom.xml
>
>
> When doing a build through hudson on either a Debian or CentOS machine (the 
> only two I've tested) the assembly plugin fails with a message like this:
> Failed to create assembly: Error creating assembly archive distribution: 
> Problem creating war: JAR entry [[filename.random]] not found in 
> /path/to/war/extracted/from
> In this depending on what maven options are used, various different files 
> show up as not found in the war being extracted from to create the assembly.  
> However, the file ALWAYS exists.
> This issue ONLY occurs when the build goals include the 'deploy' goal.  In 
> other words, if I run 'mvn clean package' or mvn clean install' the issue 
> does not exist, but if I run 'mvn clean package deploy' or 'mvn clean install 
> deploy' the assembly fails.
> Note that USUALLY, running another build seems to clear up the issue, but not 
> always.  But the issue does break out CI process.
> Attached is the assembly itself.  I was never able to associate any change to 
> this assembly contributing to the start of this issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to