Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5360

add a new classloader ("a la" child first for plugin)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      In order to implement a maven3-plugin, we need a new class loader mechanism to mask current maven classes which are in core (through maven-plugin).

        Attachments

        1. ChildFirstClassLoader.java
          4 kB
        2. ChildFirstClassLoader.java
          3 kB
        3. HUDSON-5360
          7 kB
        4. HUDSON-5360
          8 kB
        5. HUDSON-5360
          9 kB

          Issue Links

            Activity

            Hide
            olamy Olivier Lamy added a comment -

            here a new patch.
            A work in progress (or POC which needs a lot of more jobs regarding maven 3 in hudson is here : http://github.com/olamy/hudson-maven3-support

            Show
            olamy Olivier Lamy added a comment - here a new patch. A work in progress (or POC which needs a lot of more jobs regarding maven 3 in hudson is here : http://github.com/olamy/hudson-maven3-support
            Hide
            olamy Olivier Lamy added a comment -

            a patch with more help methods (getURLs returning jars)

            Show
            olamy Olivier Lamy added a comment - a patch with more help methods (getURLs returning jars)
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : olamy
            Path:
            trunk/hudson/main/core/pom.xml
            trunk/hudson/main/core/src/main/java/hudson/ClassicPluginStrategy.java
            trunk/hudson/main/core/src/main/java/hudson/PluginFirstClassLoader.java
            trunk/hudson/main/core/src/main/java/hudson/security/Permission.java
            http://jenkins-ci.org/commit/35076
            Log:
            JENKINS-5360 add a new classloader ("a la" child first for plugin)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : olamy Path: trunk/hudson/main/core/pom.xml trunk/hudson/main/core/src/main/java/hudson/ClassicPluginStrategy.java trunk/hudson/main/core/src/main/java/hudson/PluginFirstClassLoader.java trunk/hudson/main/core/src/main/java/hudson/security/Permission.java http://jenkins-ci.org/commit/35076 Log: JENKINS-5360 add a new classloader ("a la" child first for plugin)
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : olamy
            Path:
            trunk/www/changelog.html
            http://jenkins-ci.org/commit/35077
            Log:
            JENKINS-5360 update changelog

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : olamy Path: trunk/www/changelog.html http://jenkins-ci.org/commit/35077 Log: JENKINS-5360 update changelog
            Hide
            dogfood dogfood added a comment -

            Integrated in hudson_main_trunk #287
            JENKINS-5360 add a new classloader ("a la" child first for plugin)

            olamy :
            Files :

            • /trunk/hudson/main/core/src/main/java/hudson/security/Permission.java
            • /trunk/hudson/main/core/pom.xml
            • /trunk/hudson/main/core/src/main/java/hudson/PluginFirstClassLoader.java
            • /trunk/hudson/main/core/src/main/java/hudson/ClassicPluginStrategy.java
            Show
            dogfood dogfood added a comment - Integrated in hudson_main_trunk #287 JENKINS-5360 add a new classloader ("a la" child first for plugin) olamy : Files : /trunk/hudson/main/core/src/main/java/hudson/security/Permission.java /trunk/hudson/main/core/pom.xml /trunk/hudson/main/core/src/main/java/hudson/PluginFirstClassLoader.java /trunk/hudson/main/core/src/main/java/hudson/ClassicPluginStrategy.java

              People

              Assignee:
              olamy Olivier Lamy
              Reporter:
              olamy Olivier Lamy
              Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: