Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-6364

Reduce the number of dependencies required to write a staging rule

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Staging
    • Labels:
      None

      Description

      This is the current repository target privilege on RSO that is needed just to support the nexus-staging-rule-plugin-archetype which is used by some of our customers:

          <patterns>
              <pattern>/com/sonatype/</pattern>
              <pattern>/commons\-beanutils/.*SONATYPE.*</pattern>
              <pattern>(?!.*-sources.*)/com/sonatype/sonatype/.*</pattern>
              <pattern>/com/noelios/restlet/.*</pattern>
              <pattern>/\.meta/repository-metadata.xml</pattern>
              <pattern>/org/jboss/jboss-parent/5/.*</pattern>
              <pattern>/com/</pattern>
              <pattern>(?!.*-sources.*)/com/sonatype/licensing/license-.*</pattern>
              <pattern>/archetype\-catalog.xml</pattern>
              <pattern>(?!.*-sources.*)/com/sonatype/components/parent/.*</pattern>
              <pattern>/org/.*</pattern>
              <pattern>/</pattern>
              <pattern>^/com/google/.*</pattern>
              <pattern>^/org/.*</pattern>
              <pattern>/javax/ws/rs/.*</pattern>
              <pattern>/com/noelios/restlet/com.noelios.restlet/.*SONATYPE.*</pattern>
              <pattern>(?!.*-sources.*)/com/sonatype/components/plexus-pgp-sks/.*</pattern>
              <pattern>(?!.*-sources.*)/de/schlichtherle/truelicense/.*</pattern>
              <pattern>/\.index/.*</pattern>
              <pattern>(?!.*-sources.*)/com/sonatype/nexus/.*</pattern>
              <pattern>(?!.*-sources.*)/com/sonatype/components/plexus-rule/.*</pattern>
              <pattern>/com/sonatype/components/</pattern>
          </patterns>
      

      This gives access to too much, and is very difficult to maintain.

      We need to make it possible to write a staging rule without needing access to so many dependencies.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title