maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christer Engde (JIRA)" <j...@codehaus.org>
Subject [jira] (MASSEMBLY-684) Parallel Execution w Custom Assembly Descriptor Fails
Date Sun, 29 Jun 2014 23:50:10 GMT

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

Christer Engde commented on MASSEMBLY-684:
------------------------------------------

I have the same problem:

"mvn clean install" works everytime!

"mvn -T 1.5C clean install" failes sometimes. Rerun may solve it the first time, but it happens
everyday day that 5 retries isn't enough.

> Parallel Execution w Custom Assembly Descriptor Fails
> -----------------------------------------------------
>
>                 Key: MASSEMBLY-684
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-684
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: component descriptor
>    Affects Versions: 2.4
>         Environment: Maven 3.0.5, JDK 1.6, Windows 7 64-bit
>            Reporter: Chris Rompot
>         Attachments: maven-assembly-plugin-error.log, pom.xml, src-zip-only-assembly.xml
>
>
> When using a custom assembly descriptor and building in parallel (-T threaded), the error
below results. It does not occur when using 1) a pre-defined descriptor in parallel or 2)
a custom descriptor in a sequential (non-threaded) build. Attached are the error log, pom.xml,
and custom assembly descriptor.
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single
(make-assembly) on project db-account-ga: Failed to create assembly: Error creating assembly
archive src: You must set at least one file. -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single
(make-assembly) on project db-account-ga: Failed to create assembly: Error creating assembly
archive src: You must set at least one file.
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:171)
> 	at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:163)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:139)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:440)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:139)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to create assembly:
Error creating assembly archive src: You must set at least one file.
> 	at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:495)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	... 13 more
> Caused by: org.apache.maven.plugin.assembly.archive.ArchiveCreationException: Error creating
assembly archive src: You must set at least one file.
> 	at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:190)
> 	at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:436)
> 	... 15 more
> Caused by: org.codehaus.plexus.archiver.ArchiverException: You must set at least one
file.
> 	at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:246)
> 	at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:222)
> 	at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:910)
> 	at org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive(AssemblyProxyArchiver.java:512)
> 	at org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:186)
> 	... 16 more



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message