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

Artifact with no maven group is redeployed when "Disable redeploy" is set on maven hosted repo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.7.0
    • Component/s: Maven
    • Labels:
    • Story Points:
      1

      Description

      It is possible to redeploy artifacts when Deployment Policy is set to "Disable redeploy". This only happens when the artifact has no maven group.

      Steps to reproduce:

      1) Create a maven hosted repo with the following setting:
      Layout Policy : Permissive
      Deployment Policy: Disable redeploy.

      2) Upload a file to

      http://localhost:8081/repository/maven-hosted/TestZip/1.0.0/TestZip-1.0.0.zip

      3) Upload again to the same path. This should not be allowed.

      http://localhost:8081/repository/maven-hosted/TestZip/1.0.0/TestZip-1.0.0.zip

      If a maven group is present in the path then the redeploy is prevented

       

      Acceptance

      Attempts to redeploy should be prevented.

        Attachments

          Activity

            People

            Assignee:
            mdodgson Mark Dodgson
            Reporter:
            msurani Mahendra Surani
            Last Updated By:
            Peter Lynch
            Team:
            Nexus - Formats
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title