[
https://issues.apache.org/jira/browse/MNG-7395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MNG-7395.
-------------------------------
Fix Version/s: 4.0.0
4.0.0-alpha-1
3.8.5
(was: 4.0.x-candidate)
(was: 3.8.x-candidate)
Resolution: Fixed
Fixed with
[2798ee91968b31aa444cfd7ded14ada0a9f043f4|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=2798ee91968b31aa444cfd7ded14ada0a9f043f4],
with
[a5acd3ec6095ea2ff50191576c33685c1d038c1f|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=a5acd3ec6095ea2ff50191576c33685c1d038c1f]
for {{maven-3.8.x}} branch and
[f26315a3809d01a229db5fe437bb7dd07c899c35|https://gitbox.apache.org/repos/asf?p=maven-integration-testing.git;a=commit;h=f26315a3809d01a229db5fe437bb7dd07c899c35].
> 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)