-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maven Plugin - the option to set extraClasspath in the plugin configuration isn't working #7970
Comments
…om parent class Signed-off-by: Olivier Lamy <[email protected]>
Opened PR #8268 |
…om parent class (#8268) Signed-off-by: Olivier Lamy <[email protected]>
I just tried to migrate today from version 10.0.16 of jetty-maven-plugin to version 12.0.8 of jejetty-ee10-maven-plugin (which uses jetty-12.0.8), and reproduced this issue in the Jetty 12... Was the fix done in v10 migrated to v12 properly? Everything as written in this issue - it sometimes picks up the String constructor and works, while the other times it picks the List constructor and fails with "Cannot create instance of class org.eclipse.jetty.util.resource.Resource". |
@rinnnn it should be almost the same code. |
Opened #11732 |
Jetty version : 10.0.8
Java version/vendor :jdk-11.0.12
OS type/version : Windows 10
Description
In version 10.0.8 , the class
org.eclipse.jetty.webapp.WebAppContext
is no more POJO class,since there is an overloading to the setter
setExtraClasspath
:so that , the maven plugin can't set this value , since the sisu-plexus is taking the 1st setter by reflection , assuming there is only one
This bug is not consistent , because if the classloader will find the 1st overload as the 1st setter, it will work ,
but if the 2nd overload will be the 1st setter , so the sisu-plexus won't be able to construct List from the string input
How to reproduce?
The text was updated successfully, but these errors were encountered: