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

Allow plugins to declare that they do not use certain implied dependencies

      Filed against core, as there is no component for the maven-hpi-plugin.

      When a plugin has an older core dependency, Jenkins currently adds all plugins detached from core to the plugins' class path, as they may be used by the plugin.

      This can easily lead to circular dependencies, and core has a solution for that in ClassicPluginStrategy (BREAK_CYCLES).

      However, it would be great if plugins could declare that they do not have certain implied dependencies in their own metadata. This has several advantages:

      • Doesn't require core modifications to break dependency cycles
      • Plugins can explicitly not depend on detached plugins, thereby making careful Jenkins administration easier and more stricter dependency handling (refuse to load plugins that don't have all dependencies) viable.

          [JENKINS-28942] Allow plugins to declare that they do not use certain implied dependencies

          Daniel Beck created issue -
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-21486 [ JENKINS-21486 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-25785 [ JENKINS-25785 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-33095 [ JENKINS-33095 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 163806 ] New: JNJira + In-Review [ 181383 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-30685 [ JENKINS-30685 ]
          Jesse Glick made changes -
          Labels New: api split-plugins-from-core
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-47634 [ JENKINS-47634 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-49555 [ JENKINS-49555 ]
          Jesse Glick made changes -
          Summary Original: Allow plugins to declare that they not use certain implied dependencies New: Allow plugins to declare that they do not use certain implied dependencies
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-49651 [ JENKINS-49651 ]

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: