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

group repo with version policy RELEASE is selectable for Maven - Delete unused SNAPSHOT repository.maven.purge-unused-snapshots task

    Details

    • Story Points:
      0.5
    • Sprint:
      NXRM Neo Sprint 35, NXRM Neo Sprint 36
    • Notability:
      3
    • InvestmentLayer:
      support-escalated
    • Aha Concept:
      non-concept

      Description

      1. Create a Group repo maven format with version policy RELEASE
      2. Create a new task "Maven - Delete unused SNAPSHOT" task and set the repository to the group repo.
      3. Save the task.

      Expected

      The task should not be allowed to select and configure to be run ( Saved ) against a group repository with version policy RELEASE. Once a group repository version policy is set, it can't be changed.

      Compare this with the behaviour of the similar Maven - Delete SNAPSHOT
      repository.maven.remove-snapshots task - a group repo with version policy RELEASE is not selectable for that task.

      The problem is consistency in task configuration validation is not there.

       

      Testing notes

       

      • Create a group repo with the RELEASE policy
      • Create a "Delete unused SNAPSHOT" task
      • In the repository Combobox you should not see the previously created group repo with RELEASE policy, should see only the ones with SNAPSHOT/MIXED policy

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              leonardor Leonardo Ruiz
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Rich Seddon Rich Seddon
              Team:
              NXRM - Neo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title