[ https://issues.apache.org/jira/browse/MNG-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17851913#comment-17851913 ]
Tamas Cservenak edited comment on MNG-8116 at 6/4/24 6:54 AM: -------------------------------------------------------------- Fixed by MNG-8136 Would be good to have the fix validated somehow? was (Author: cstamas): Fixed by MNG-8136 > 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: 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)