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

Remove not required dependencies from Blue Ocean plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      Current situation

      When e.g. installing the BlueOcean plugin the Bitbucket Pipeline for Blue Ocean is also always installed because it's a dependency of the former. The same situation exists e.g. for "GitHub Pipeline for Blue Ocean" and "Git Pipeline for Blue Ocean"

      As we are currently using GitLab, we don't require any of the above plugins.

      The problem likely originates here:
      https://github.com/jenkinsci/blueocean-plugin/blob/f295a17dbf15f06abc31964ac7dab08efebd1db7/blueocean/pom.xml#L78-L105

      What should be done

      Remove these plugins as dependencies.
      Why?

      • Comment in your code says "TODO: its here only for development, to be removed" - was written there ~7 years ago back in 2016
      • If you still need these dependencies for tests I recommend you set them to scope test or create a separate test module
      • Less dependencies
      • Less to download
      • Less to manage (in e.g. CasC)
      • Less possible attack vectors
      • ...

            Unassigned Unassigned
            ab_xdev Alex B
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: