I'm new to Maven so take this with a grain of salt, but I don't see why you
can't just do:
...snip...
module1
module2
client1
client2
...snip...
From: Markus Jostock
To: Maven Users List
Sent: Thursday, June 11, 2009 8:17:01 AM
Subject: dependency management in sub-sub-module
Dear all
I have module structure with two levels of sub-modules.
The root level pom defines a dependency managment section which is working fine
for sub-modules. But for a deeper level, the dependency management section of
the root pom apparently is not available any more ...
root
+- module1 <-- working fine
+- module2 <-- working fine
+- clients
+- client1 <-- compile errors ...
+- client2 <-- compile errors ...
During build, the system does not complain about unsatisfied dependencies, but
in the compile phase the compiler cannot find the symbols.
Would anyone have an idea what I could be doing wrong here? Any advice would
be gratefully appreciated ...
Many, many thanks!
Markus
root-pom:
===
4.0.0
my.groupid
root
pom
1.0-SNAPSHOT
My Project
module1
module2
clients
commons-beanutils
commons-beanutils
1.8.0
compile
...
clients-pom:
4.0.0
root
my.groupid
1.0-SNAPSHOT
clients
My Clients
pom
client1
client2
client1-pom:
4.0.0
clients
my.groupId
1.0-SNAPSHOT
client1
My Client 1
commons-beanutils
commons-beanutils
compile
...
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org