-
Type:
Bug
-
Status: Resolved
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2.1.8
-
Component/s: None
-
Labels:None
Jenkins maven plugin 1.528 has been refactored to split maven-interceptor in two libs, maven3-interceptor-common + maven3(1)-interceptor
This breaks artifactory plugin (java.lang.NoClassDefFoundError: org/jvnet/hudson/maven3/listeners/HudsonMavenExecutionResult) as this plugin provides it's own copy [1] of classworld conf file, that has to be updated to follow [2].
Such a duplicated classworld config is fragile, I suggest you consider introducing an extension point in maven-plugin to let other plugins contribute classworld classpath and use it to inject m3plugin libs
[1] https://github.com/jenkinsci/artifactory-plugin/blob/master/src/main/resources/org/jfrog/hudson/maven3/classworlds-native.conf
[2] https://github.com/jenkinsci/maven-interceptors/blob/master/maven31-agent/src/main/resources/jenkins/maven3/agent/classworlds.conf
- duplicates
-
HAP-427 java.lang.NoClassDefFoundError: org/jvnet/hudson/maven3/listeners/HudsonMavenExecutionResult
- Resolved