Hi,

I did this and it does not work. It only works when all dependencies are already installed. I found in another mail that binding the assembly to the package phase does not work in a multi module project. I must somehow configure maven to call mvn assembly:attached at the top level so that - for each subdirectory where an assembly is configured, the assembly is invoked in that directory.

In other words,
Instead of going in each sub directory and invoke mvn assembly, I just want to invoke it once
        at the top level to integrate it in the release with one call.

Timo
                

On Nov 16, 2006, at 5:08 PM, LECAN Damien wrote:

Ok, I thought you were building your assembly at the top of your multi-module project.

If you build assemmbly in specific projet, bind the assembly operation to the package phase of your module :
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
See "Building an Assembly as Part of the Build Lifecycle" in

Damien


-----Message d'origine-----
De : Timo Wolf [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 16 novembre 2006 14:42
À : Maven Users List
Objet : Re: Release Plugin: Include assemblies for deploying


Hi,

The problem with this line is, that I have a multi module
project and
call the
mvn release from the top level directory. I have only
assembly goals for
some submodules and the invocation of mvn assembly:assembly fails
from the top level directory.

Any help about this probem?

Thanks

Timo

[INFO] [assembly:attached]
[INFO]
--------------------------------------------------------------
----------
[ERROR] BUILD FAILURE
[INFO]
--------------------------------------------------------------
----------
[INFO] No assembly descriptors found.
[INFO]
--------------------------------------------------------------
----------
[INFO] For more information, run Maven with the -e switch
[INFO]
--------------------------------------------------------------
----------
[INFO] Total time: 6 seconds
[INFO] Finished at: Thu Nov 16 13:14:56 CET 2006
[INFO] Final Memory: 5M/11M


On Nov 16, 2006, at 12:50 PM, LECAN Damien wrote:

I'm doing releases like that :

mvn release:perform -Dgoals="install assembly:attached deploy site-
deploy"

Beware, some phases are executed twice, even three times

Damien

-----Message d'origine-----
De : Timo Wolf [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 16 novembre 2006 12:15
À : [email protected]
Objet : Release Plugin: Include assemblies for deploying


Hi All,

I have a multi module project with some modules that include a
required assembly
to pack a complete application containing scripts, properties, etc.

When making a release on the top level directory, all
jars, and poms
etc get uploaded and
deployed on my repository.

Is it possible to invoke the assembly goals from some modules from
the release plugin
and also deploy the packed applications in the repository.

When I invoke mvn release:perform, I want to have all
artifacts in my
repository, including the
assemblies of some submodules.

Thanks a lot

Timo



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



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



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

Reply via email to