Hi Jake,
You can get the 'attached' goal by adding to your pom the following
plugin repository:
<pluginRepositories>
<pluginRepository>
<id>apache snapshots</id>
<url>http://cvs.apache.org/maven-snapshot-repository</url>
</pluginRepository>
</pluginRepositories>
Hope that helps.
Dário
Jake Pezaro wrote:
hi dan. sorry for the delay - i got a bit sidetracked with some other
stuff.
i have checked out the maven-assembly-plugin 2.0.x from svn & can't find
assembly:attached. i get the following message:
[ERROR] BUILD ERROR
[INFO]
---------------------------------------------------------------------
[INFO] 'attached' was specified in an execution, but not found in the
plugin
i also can't see listed in any of the mojo's in the source.
is there another version that i am missing? i am also having problems
when binding assembly to the parent pom for multi-module builds, but
have listed that in a separate email.
jake
-----Original Message-----
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: 06 May 2006 00:32
To: Maven Users List
Subject: Re: M2: Assembly Plugin Breaks Module Build
Jake, the below structure works for me
parent
pom.xml
child-1
pom.xml
child-2
pom.xml
.....
child-assembly
pom.xml <---- bind assembly:attached to package phase ( you need
to
get the assembly plugin from svn and build it your self )
On 5/5/06, Jake Pezaro <[EMAIL PROTECTED]> wrote:
thanks dan. my assembly config is in a parent pom, and when i try to
configure the binding (i was using assembly:assembly, don't know if
that make a difference) i could not install or deploy the pom due to
the below error. is there a way to stop stop this or do i need to
configure the assembly in the project poms (rather than in the
parent).
[INFO] [assembly:assembly {execution: default}] [INFO]
----------------------------------------------------------------------
--
----
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------
--
----
[INFO] Error creating assembly
Embedded error: c:\dev\workspace\ServerAppPom\target isn't a directory
jake
-----Original Message-----
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Fri 5/5/2006 6:31 PM
To: Maven Users List
Subject: Re: M2: Assembly Plugin Breaks Module Build
for project that requires assembly, bind assembly:attached to the
package phase, then you run
maven deploy
-D
On 5/5/06, Jake Pezaro <[EMAIL PROTECTED]> wrote:
We have a number of projects which we build nightly using maven. I
have grouped these together using modules so that i can build &
deploy them all at once with one command (mvn assembly:assembly
deploy).
The problem is that the build fails because the assembly:assembly
target requires all projects to have an assembly defined. Is there
a way around this?
thanks
jake
____________________________________________________________________
__ This email has been scanned by the MessageLabs Email Security
System.
For more information please visit http://www.messagelabs.com/email
____________________________________________________________________
__
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]