Hi all,
inspired by the maven magic tutorial i've started to integrate a simple
multiproject in maven.
My project has the following structure:
root
| ------- project.xml (Master definition
Template)
|
| ------ MainProject
| |
| | -------- project.xml
(MainProject Descriptor)
| |
| | -------- maven.xml (Reactor)
| |
| | ____ src
|
| _____ SubProject 1 (Same structure as
MainProject)
Both projects inhered in their descriptor-files the master definition
template on top. All works
fine, when i use the reactor the project is build like it should be.
Now i try to inherid some dependencies from the master definition
template, because this
definition should be global for each project. But this fails... My
ant-Plugin which uses one
of these dependencies will not work, because the jar classes are not found
... When i set
the same dependency in the descriptors of both projects explicit, all
works fine...
I've got the same problem by setting maven members in the template, i must
reset it in every
descriptor ...
Is it inpossible to inherid dependencies by this way? I think it's not
realy elegant to set the
basic dependencies again and again ...
Thanks for any help or hint,
Christian
BG-PHOENICS GMBH
IT-EW / DS
Thurnithistr.16
30519 Hannover
Telefon: 0511-987-1248
mailto: [EMAIL PROTECTED]