[ 
http://jira.codehaus.org/browse/MINVOKER-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MINVOKER-23.
--------------------------------

      Assignee: Olivier Lamy  (was: John Casey)
    Resolution: Fixed

fixed in rev 629249.
Thanks

> Use project.getProperties() when performing IT pom interpolations
> -----------------------------------------------------------------
>
>                 Key: MINVOKER-23
>                 URL: http://jira.codehaus.org/browse/MINVOKER-23
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: John Allen
>            Assignee: Olivier Lamy
>         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|https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-component-it-plugin]
>  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|https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly-plugin/pom.xml]
>  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>main.local.as.remote</id>
>       <url>file://${local.repo.path}</url>
>     </repository>
>   </repositories>
>   <pluginRepositories>
>     <pluginRepository>
>       <id>main.local.as.remote</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: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to