Problem with property substitution into finalName

2013-02-08 Thread Marshall Schor
We have a POM, where the build specifies a final name like this: finalNameorg.apache.uima.textmarker.engine_${parsedVersion.osgiVersion}/finalName We use the maven-build-helper plugin to set the variable to be the same as the version, except with a period before the SNAPSHOT qualifier, for

Re: Problem with property substitution into finalName

2013-02-08 Thread Stephen Connolly
Please read this: http://stackoverflow.com/questions/14725197/reading-properties-file-from-pom-file-in-maven/14727072#14727072 You will conclude that the only solution is to make the finalName a configuration parameter of the mojo so that the recursive property evaluation code can compute the

Re: Problem with property substitution into finalName

2013-02-08 Thread Marshall Schor
Thanks Stephen, I'm trying to figure out why I'm not seeing this in the actual staged artifacts, or in previous releases. Here's what I've concluded: The maven-gpg-plugin has a bug - it copies the pom.xml to the finalname.pom, in target, and then signs that, without substituting into the

Re: Problem with property substitution into finalName

2013-02-08 Thread Stephen Connolly
On Friday, 8 February 2013, Marshall Schor wrote: Thanks Stephen, I'm trying to figure out why I'm not seeing this in the actual staged artifacts, or in previous releases. Here's what I've concluded: The maven-gpg-plugin has a bug - it copies the pom.xml to the finalname.pom, in