You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Julien HENRY <he...@yahoo.fr> on 2006/11/29 09:03:58 UTC

Re : Assembly and multi-module project

I tried with mvn package assembly:assembly and I got exactly the same behavior. I also tried to build Maven 2.1 from SVN, and both mvn assembly:assembly and mvn package assembly:assembly failed with the same message.

----- Message d'origine ----
De : Wendy Smoak <ws...@gmail.com>
À : Maven Users List <us...@maven.apache.org>
Envoyé le : Mercredi, 29 Novembre 2006, 1h21mn 50s
Objet : Re: Assembly and multi-module project

On 11/28/06, Julien HENRY <he...@yahoo.fr> wrote:
> I think my xml file is well configured, but when I run mvn assembly:assembly, the plugin complains:
> [INFO] Failed to create assembly: Artifact: [moduleC] (included by module) does not have an artifact with a file. Please ensure the package phase is run before the assembly is generated.
>
> The documentation on the site claims that package phase is automatically run by assembly goal, so it should work. Any Idea ?

On http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
under moduleSet, it says,

"NOTE: When using <moduleSets> from the command-line, it is required
to pass first the package phase by doing: "mvn package
assembly:assembly". This bug/issue is scheduled to be addressed by
Maven 2.1."

However, the docs were published on Nov 7th, so there may be some
documentation there on as-yet-unreleased features.

More examples of multi-module assemblies would be great.  I'm
currently having trouble getting assembly to do what I want. :(

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org








	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com