You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Giovanni van der Schelde (Jira)" <ji...@apache.org> on 2023/05/31 14:46:00 UTC
[jira] [Commented] (MNG-5897) Make extensions configurable in a more convenient way
[ https://issues.apache.org/jira/browse/MNG-5897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17728003#comment-17728003 ]
Giovanni van der Schelde commented on MNG-5897:
-----------------------------------------------
Since it is an old issue, is this still a feature we want in Maven? If so, I'd be happy to give it a shot and see if I can investigate on how to approach this.
> Make extensions configurable in a more convenient way
> -----------------------------------------------------
>
> Key: MNG-5897
> URL: https://issues.apache.org/jira/browse/MNG-5897
> Project: Maven
> Issue Type: New Feature
> Components: Core
> Affects Versions: 3.3.3
> Reporter: Karl Heinz Marbaise
> Priority: Major
> Fix For: 4.0.x-candidate
>
>
> Currently you can configure using an extensions via {{.mvn/extensions.xml}} to load it.
> But at the moment the only possibility to configure your extensions (or control behaviour) is via system properties like {{-Dwhatever=...}}.
> It would be convenient to make configuration possible in {{.mvn/extensions.xml}} like the plugin configuration are in pom file...
> {code:xml}
> <extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
> <extension>
> <groupId/>
> <artifactId/>
> <version/>
> <configuration>
> <parameter>...</parameter>
> </configuration>
> </extension>
> </extensions>
> {code}
> with some kind of replacements like in the pom.xml file (like {{$\{project.basedir}}} etc.) ?
> This could make the usage of extensions much more convenient...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)