Property inheritance works for properties you put into the properties
section of a parent pom.
The m-build-helper-p creates properties dynamically *after* maven already
executed pom parsing and property inheritance. I. e.: inheriting dynamic
properties does not work.
HTH
Ansgar
Am 07.02.2013
Am 07.02.2013 21:49 schrieb Ansgar Konermann
ansgar.konerm...@googlemail.com:
Property inheritance works for properties you put into the properties
section of a parent pom.
The m-build-helper-p
s/build-helper/properties/
creates properties dynamically *after* maven already executed pom
Please take a couple of minutes to read my answer to a very similar
question on stack overflow
http://stackoverflow.com/questions/14725197/reading-properties-file-from-pom-file-in-maven/14727072#14727072
It should hopefully make things a little clearer
-Stephen
On Thursday, 7 February 2013,
Thanks - I wasn't aware of MAVEN_HOME_LOCAL.
-Original Message-
From: khote [mailto:[EMAIL PROTECTED]
Sent: 15 October 2003 13:04
To: Maven Users List
Subject: Re: Property inheritance
set a global
export MAVEN_HOME_LOCAL=/mavenrepository
or some such place. Put
I've found it easier to simply add in a common bin directory, a modified
copy of the maven script with the added properties.
Paul
khote wrote:
set a global
export MAVEN_HOME_LOCAL=/mavenrepository
or some such place. Put that in your /etc/profile so everybody shares it.
- Original Message