Hi,

in one of my parent poms, i have a property like this:

   
<repository.integrationtests>${project.basedir}/../../target/it-repository</repository.integrationtests>

This property is then inherited to various child modules which live at
different depths in the inheritance tree.

As far as I understand the maven property inheritance mechanism,
${project.basedir} gets inherited as a *variable* and resolved in the
context of each child project referencing this variable. As the child
projects live at different levels of the inheritance tree, they will
also use "it-repository" directories at different levels of the tree, so
there are multiple repo directories, and none contains all the required
artifacts :-(
I'd like to *prevent* this context-dependent resolution behaviour and
tell all my child projects, wherever they might live in the tree, where
to find *the one* repository which should be used for integration
testing (a plugin, that is).

How could I achieve this?

Thanks in advance

Ansgar

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to