Tamas Cservenak created MNG-8113:
------------------------------------
Summary: Inconsistent way of overriding core components from
extensions
Key: MNG-8113
URL: https://issues.apache.org/jira/browse/MNG-8113
Project: Maven
Issue Type: Bug
Components: Core
Reporter: Tamas Cservenak
Problem: "let's have a (core) extension that is overriding some component X in
Maven Core".
Doing this is very inconsistent, and depends HOW core component is defined in
the first place.
IF core component is JSR330, then is simple: just define an own JSR330
component (w/ some higher than zero Priority) and done. This can be loaded from
{{.mvn/extensions.xml}} just fine.
IF core component is Plexus, then is not simple:
* using JSR330 – could not do it
* using Plexus annotation + XML – does not works when JAR is in
{{.mvn/extensions.xml}} !
* using Plexus annotation + XML – works only when using
{{-Dmaven.ext.class.path}} w/ JAR enlisted here.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)