[
https://issues.apache.org/jira/browse/MNG-7395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481141#comment-17481141
]
Christoph Läubrich commented on MNG-7395:
-----------------------------------------
If we can have more support, its even better I'm just not sure if something
like that is available at this stage.
I have created a draft PR here: https://github.com/apache/maven/pull/665/files
so if you can take a look and give some insight that would be great.
> Support system-properties in extension.xml
> ------------------------------------------
>
> Key: MNG-7395
> URL: https://issues.apache.org/jira/browse/MNG-7395
> Project: Maven
> Issue Type: Improvement
> Reporter: Christoph Läubrich
> Priority: Major
>
> 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)