Jorg Heymans wrote:

On 02 Oct 2006, at 16:25, Vadim Gritsenko wrote:

As far as I can see, latest assembly plugin (2.2-SNAPSHOT) can not create assemblies from multi module projects. I tried:

$ svn co svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly-plugin/
 $ cd src/it/multimodule/two-level-multimodule
 $ mvn `cat goals.txt`

Fails with:

[ERROR] BUILD ERROR
[INFO] Included module: test:child-level1-project2:pom:1.0-SNAPSHOT does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated.



I flagged this with the maven peeps, it is being investigated. At least maven's behaviour here is consistent with the rest of its features.

Vadim and I already find out: You have to invoke the package phase before you run the assembly plugin and you have to make sure that it is run within the same build:

mvn package assembly

--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                       web(log): http://www.poetz.cc
--------------------------------------------------------------------

                
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

Reply via email to