NPanday
  1. NPanday
  2. NPANDAY-88

Configure Repository appends snippets in settings.xml everytime it is updated

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.2
    • Component/s: None
    • Labels:
      None
    • Codeplex ID:
      9390

      Description

      Steps to replicate:
      1. Enter [Repository1_URL] in Configure Repository tab's Remote Repository Location field
      2. Click Update button
      Actual Result:
      In your settings.xml notice that this snippet is added:
      <repository>
      <releases>
      <enabled>false</enabled>
      </releases>
      <snapshots>
      <enabled>false</enabled>
      </snapshots>
      <id>NPanday.id</id>
      <url>[Repository1_URL]</url>
      </repository>
      <repository>

      3. Edit repository in Configure Remote tab with a new remote repository (Repository2_URL)
      4. Click Update button
      Actual result:
      In your settings.xml, this snippet is also added:
      <repository>
      <releases>
      <enabled>false</enabled>
      </releases>
      <snapshots>
      <enabled>false</enabled>
      </snapshots>
      <id>NPanday.id</id>
      <url>[Repository2_URL]</url>
      </repository>
      <repository>

      5. Edit remote repository again with the remote repository location same as in [1]
      Actual Result:
      Snippet added from actual result in [2] is added again in your settings.xml.

      Expected Result:
      Repository tags should be checked when adding/editing remote repository so as not to duplicate it in settings.xml file.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            mbaclay
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development