Ah, thanks. I've since found that "mvn assembly:attached" works, both from the command line and when run as part of a maven build lifecycle [with the same assembly descriptor.]
Is the assembly id being inferred or derived from the project then, when running the 'attached' goal? I suggest that the error message be improved for this use case, at the least. Since I've clearly not supplied an assembly id, it seems that the message refers to multiple [internal] uses of the assembly id and relates more to implementation of the plugin and less to something that the user has knowledge of [and can control]. Thanks again. Brad > -----Original Message----- > From: John Casey [mailto:[EMAIL PROTECTED] > Sent: Friday, April 11, 2008 10:36 AM > To: Maven Users List > Subject: Re: assembly:assembly failure > > You need to specify <id>assembly-name</id> inside your > assembly descriptors. > > -john > > On Apr 10, 2008, at 8:34 AM, Harper, Brad wrote: > > > Anyone have thoughts on what's behind the following error? > > > > ... > > [ERROR] BUILD FAILURE > > [INFO] ------------------ > > [INFO] The assembly id null is used more than once. > > ... > > > > I see this error when testing a garden-variety assembly from the > > command line > > > > % mvn assembly:assembly -Ddescriptor=src/main/assembly/release.xml > > -Ddocument.version=2.4.15 > > > > The assembly descriptor names only two files: the project's war > > artifact and a document, which references the property > > ${document.version} to get the correct file. > > > > Brad Harper > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --- > John Casey > Committer and PMC Member, Apache Maven > mail: jdcasey at commonjava dot org > blog: http://www.ejlife.net/blogs/john > rss: http://feeds.feedburner.com/ejlife/john > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
