Thanks,

yes, it works the way you said. It resulted in the following pom:

...
  <plugin>
   <artifactId>maven-assembly-plugin</artifactId>
   <executions>
    <execution>
     <phase>package</phase>
     <configuration>
      <descriptors>
       <descriptor>src/main/assembly/dep.xml</descriptor>
      </descriptors>
     </configuration>
     <goals>
      <goal>assembly</goal>
     </goals>
    </execution>
   </executions>
  </plugin>
...

Br / Fred


From: "Tom Huybrechts" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" <users@maven.apache.org>
To: "Maven Users List" <users@maven.apache.org>
Subject: Re: Assembly one of the modules
Date: Tue, 2 May 2006 16:35:44 +0200

You could bind the assembly:assembly goal to a well known phase in the
client pom (e.g. package). If you then run 'mvn
package/install/deploy' on the parent, the assembly will generated in
the client, but not in any of the other modules.

Tom

On 5/2/06, fred flinta <[EMAIL PROTECTED]> wrote:

Hi all!

I'm trying to run the assembly for one of my modules, but it seems that
Maven forces me to define an assembly descriptor for each module.

My system looks like:

/pom.xml
/core/pom.xml
/core/src/..
/client/pom.xml
/client/src/..
/client/src/main/assembly

Running "mvn assemly:assembly" in the "client" module works fine!

When running the "mvn assemly:assembly" at the top level Maven states:

[INFO] [assembly:assembly]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] No assembly descriptors found.
[INFO]
------------------------------------------------------------------------

What have I missed? .. How do I create create distribusitions for some of
may modules with many modules?


/ Fred

_________________________________________________________________
Chat: Ha en fest på Habbo Hotel
http://habbohotel.msn.se/habbo/sv/channelizer Checka in här!


---------------------------------------------------------------------
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]


_________________________________________________________________
Nyhet! MSN Messenger i Mobiltelefonen! http://mobile.msn.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to