maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Allen (JIRA)" <>
Subject [jira] Updated: (MINVOKER-23) Use project.getProperties() when performing IT pom interpolations
Date Sun, 06 Jan 2008 21:11:57 GMT


John Allen updated MINVOKER-23:

    Attachment: MINVOKER-23.diff

patch is based off 1.1 tag

> Use project.getProperties() when performing IT pom interpolations
> -----------------------------------------------------------------
>                 Key: MINVOKER-23
>                 URL:
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: John Allen
>            Assignee: John Casey
>         Attachments: MINVOKER-23.diff
> Although some excellent work has been to allow for various scheme of interpolation to
be employed it would be very beneficial if the buildInterpolatedPomFile method also would
use, optionally if you wish, the project's own properties and not just the <interpolationsProperties>
supplied parameter values.
> Simple use case:
> Using the [maven-component-it-plugin to inject the project's local repository|]
path into the project's main properties would then allow us to use this value to build a simple
'local repository as a main repository' <repository> into the IT plugin POMS which would
allow us to greatly speed up testing.
> The [assembly plugin|]
currently jumps through the hoops of filtering and installing a special IT parent pom project
to interpolate this 'local repo property value' into a POM and then the IT poms use this parent
and thus have access to the special repository of the form:
>   <repositories>
>     <repository>
>       <id></id>
>       <url>file://${local.repo.path}</url>
>     </repository>
>   </repositories>
>   <pluginRepositories>
>     <pluginRepository>
>       <id></id>
>       <url>file://${local.repo.path}</url>
>     </pluginRepository>
>   </pluginRepositories>
> If the invoker was willing to use the main project's Properties as well as the explicitly
defined <interpolationsProperties> in interpolation we could remove the need for this
filtering and installing and simply get the job done from in one simple call.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message