You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2024/06/05 13:10:00 UTC
[jira] [Updated] (MNG-8116) Plugin configuration can randomly fail in case of method overloading as it doesn't take into account implementation attribute
[ https://issues.apache.org/jira/browse/MNG-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Cservenak updated MNG-8116:
---------------------------------
Fix Version/s: 4.0.0
> Plugin configuration can randomly fail in case of method overloading as it doesn't take into account implementation attribute
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MNG-8116
> URL: https://issues.apache.org/jira/browse/MNG-8116
> Project: Maven
> Issue Type: Task
> Components: Plugin Requests
> Affects Versions: 3.9.6
> Reporter: Olivier Lamy
> Assignee: Olivier Lamy
> Priority: Major
> Fix For: 4.0.0, 3.9.8, 4.0.0-beta-4
>
>
> Originally discovered via a Jetty bug report see https://github.com/jetty/jetty.project/issues/11732
> The bean to configured have the following overloading method naming:
> * public void setExtraClasspath(String extraClasspath)
> * public void setExtraClasspath(List<Resource> extraClasspath)
> The plugin configuration:
> <webApp>
> <extraClasspath>${basedir}/config</extraClasspath>
> </webApp>
> even forcing the implementation attribute doesn't help
> <webApp>
> <extraClasspath implementation="java.lang.String">${basedir}/config</extraClasspath>
> </webApp>
> The fix is implemented via the PR https://github.com/eclipse/sisu.plexus/pull/52
--
This message was sent by Atlassian Jira
(v8.20.10#820010)