Hi,
I created a reactor project with a super pom and with many modules
and module dependencies.
To some modules are complete applications so I added the assembly
plugin to build the executable
application including scripts, jars, properties, etc.
So each module creates a jar file that is needed by another module
and in addition, some modules
assemble to complete applications.
mainproject
|-module1
|-module2
|-module3
|-module4
The dependencies are:
module2 -> module1
module3 -> module2
module4 -> moduel2 & module 3
Timo
On Nov 17, 2006, at 1:20 PM, LECAN Damien wrote:
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.
Can you describe in more details your project structure ?
I don't understand how you can have sub-modules with assemblies
(not on the top level of project) depending on other sub-modules
that Maven reactor doesn't build before.
Note : you can use assembly:single in a multi-module project
Damien
---------------------------------------------------------------------
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]