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 <[EMAIL PROTECTED]>
À : Maven Users List <[email protected]>
Envoyé le : Mercredi, 29 Novembre 2006, 1h21mn 50s
Objet : Re: Assembly and multi-module project

On 11/28/06, Julien HENRY <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








        

        
                
___________________________________________________________________________ 
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

Reply via email to