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


Reply via email to