Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE2E511685 for ; Sun, 29 Jun 2014 23:50:42 +0000 (UTC) Received: (qmail 91254 invoked by uid 500); 29 Jun 2014 23:50:37 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 91192 invoked by uid 500); 29 Jun 2014 23:50:37 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 91176 invoked by uid 99); 29 Jun 2014 23:50:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jun 2014 23:50:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jun 2014 23:50:34 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 2453AB1015 for ; Sun, 29 Jun 2014 18:50:10 -0500 (CDT) Date: Sun, 29 Jun 2014 18:50:10 -0500 (CDT) From: "Christer Engde (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (MASSEMBLY-684) Parallel Execution w Custom Assembly Descriptor Fails MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ 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)