Hi you need to add an <id>someId</id> inside the <execution> element.
different for each execution. Regards Mark Donszelmann > -----Original Message----- > From: Jochen Wiedmann [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 10, 2005 7:38 PM > To: Maven Users List > Subject: Re: Questions on assembly plugin > > dan tran wrote: > > > you can run maven-assembly-plugin multiple times > > Thanks for the hint. I may be doing something wrong, but so > far it doesn't work. Here's what I did: > > - Added the "executions" section to the assembly plugins > configuration. > - Removed my existing "configuration" section. > - Invoked "mvn assembly:assembly" > > Result is the following error message: > > POM Location: /home/jwi/workspace/ws-xmlrpc-2/pom.xml > Validation Messages: > > [0] You cannot have two plugin executions with the same (or > missing) <id/> elements. > Offending execution > > Id: 'default' > Plugin:'org.apache.maven.plugins:maven-assembly-plugin' > > > > > Reason: Failed to validate POM > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
