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

Hide core dependencies in plugin classpath

    XMLWordPrintable

Details

    Description

      1.X is stuck with old dependencies we can't upgrade, as they are automatically set in plugin classpath and most plugins do assume those specific versions are available.

      For 2.0 we should only expose to plugin core classes but not implementation dependencies (groovy, guava, spring) and get plugin explicitly define dependencies they rely on.

      Security is a special case, as we highly depend and expose Acegi Security, but as this project is dead (rebranded as spring-security) we could just adopt it's package namespace and consider it part of jenkins-core, then delegate to spring-security, or any other security framework we select for core.

      Attachments

        Issue Links

          Activity

            ndeloof Nicolas De Loof created issue -
            ndeloof Nicolas De Loof made changes -
            Field Original Value New Value
            Priority Minor [ 4 ] Major [ 3 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-29068 [ JENKINS-29068 ]
            swashbuck1r Spike Washburn made changes -
            Summary Hide core dependencies in plugin classapth Hide core dependencies in plugin classpath
            kohsuke Kohsuke Kawaguchi made changes -
            Labels 2.0 2.0-rejected
            danielbeck Daniel Beck made changes -
            Labels 2.0-rejected 2.0 2.0-rejected
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-36779 [ JENKINS-36779 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 165802 ] JNJira + In-Review [ 182152 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-28942 [ JENKINS-28942 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-41827 [ JENKINS-41827 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-49555 [ JENKINS-49555 ]

            People

              Unassigned Unassigned
              ndeloof Nicolas De Loof
              Votes:
              9 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: