Thanks, that did work, but the correct tags would be:
In the sub-project pom.
maven-war-plugin
${war.dir}
On 4/13/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> You could perhaps utilize profiles for this? Or properties in your top
> project pom.xml?
>
>
> /tmp/jar
> /tmp/wa
You could perhaps utilize profiles for this? Or properties in your top
project pom.xml?
/tmp/jar
/tmp/war
Then in subproject:
jar/pom.xml
${jar.dir}
I haven't tested this, just an idea. You could possibly set the
properties on the command line too with -Djar.dir=/tmp/jar etc...
Wayne
On 4/1
I have a multi-project build.
>From the top main project I would like to override command in the
sub-projects.
I have a main project, with some sub-projects, in the subproject, I have a
few wars, and jars being built.
In the pom for the sub-project, I tell mvn which directory to build the wars
an