Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-428

integration broken after migration to 1.528

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.8
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shayy Shay Yaakov (Inactive)
                Reporter:
                ndeloof nicolas De loof
              • Votes:
                9 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: