[
https://issues.apache.org/jira/browse/MNG-8116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Lamy updated MNG-8116:
------------------------------
Description:
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
was:
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:
> Plugin configuration can randomly fail in case of method overloading as it
> doesn't take into account implementation attriute
> ----------------------------------------------------------------------------------------------------------------------------
>
> 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
> Priority: Major
> Fix For: 3.9.7
>
>
> 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)