maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <>
Subject Re: Is it a bug? (install plugin deploys poms with variables in artifact.version and parent.version)
Date Mon, 15 Oct 2012 14:32:50 GMT
On 15 October 2012 15:13, <> wrote:

> Hi,
> I just opened an issue regarding the install plugin (I think that's the
> module responsible).
> The general problem is that I am using variables for defining the versions
> of artifacts, dependencies and parent projects.


Property substitution is not supported at the following XPath locations


If your issue is that Maven is failing to report
groupIds/artifactIds/versions at these XPath locations containing ${...}
characters as being invalid, then you have a valid bug. Otherwise you are
doing something wrong.

Note we are investigating at some point in the future allowing
/project/parent/version to be optional where the parent is available on
disk at the specified /project/parent/relativePath but that is not a
feature in Maven 3.0.x


> The install plugin installs the poms in the correct place, but the
> deployed poms contain variables, which could cause major problems. I would
> assume that because the artifact is deployed in a diectory containing a
> real version, so should the corresponding pom-file.
> Is there any known workaround for this or is someone allready working on
> this? If there is no known workaround and you would say this is a bug and
> there is noone working on it, I would start fixing it myself and attach a
> patch to the issue as soon as I've finished it.
> Chris

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message