You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christoph Läubrich (Jira)" <ji...@apache.org> on 2022/02/20 06:09:00 UTC

[jira] [Comment Edited] (MNG-7395) Support interpolation in extensions.xml

    [ https://issues.apache.org/jira/browse/MNG-7395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17495091#comment-17495091 ] 

Christoph Läubrich edited comment on MNG-7395 at 2/20/22, 6:08 AM:
-------------------------------------------------------------------

Thanks! Can't await to see this in maven release :-)


was (Author: laeubi):
Thanks!

> Support interpolation in extensions.xml
> ---------------------------------------
>
>                 Key: MNG-7395
>                 URL: https://issues.apache.org/jira/browse/MNG-7395
>             Project: Maven
>          Issue Type: New Feature
>            Reporter: Christoph Läubrich
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 4.0.0, 4.0.0-alpha-1, 3.8.5
>
>
> Currently an entry has to be the following form:
> {code:xml}
> <extension>
> 	<groupId>org.eclipse.tycho</groupId>
> 	<artifactId>tycho-build</artifactId>
> 	<version>2.7.0-SNAPSHOT</version>
> </extension>
> {code}
> This has the drawback that I always need to edit the extension.xml file and there is no way to specify it on the commandline.
> The proposal is to allow the follwoing:
> {code:xml}
> <extension>
> 	<groupId>org.eclipse.tycho</groupId>
> 	<artifactId>tycho-build</artifactId>
> 	<version>${tycho-version|2.6.0}</version>
> </extension>
> {code}
> I would then expect the following:
> # If no systemproperty with name 'tycho-version' exits, the value after the | is used as a default
> # If a systemproperty with name 'tycho-version' exits it is used as a version
> That way I can call mvn -Dtycho-version=2.7.0-SNAPSHOT clean install to override the default version.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)