Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-21278

Remove misconfigured <dependencyManagement> element from OSP base pom: deploying artifacts to the wrong repo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.1, 2.9.0
    • Component/s: OSP: Other
    • Labels:
      None

      Description

      While releasing 2.8.1 I was spot checking the output locations of binary artifacts and noticed that neither 2.8.0 or 2.8.1 exist in the repo. Instead, they have been deployed to the snapshot repo. The reason is the chunk of code below that resides in the osp base pom. Since no defaults are set respecting whether or not the repo accepts snapshot or release artifacts, it takes both.

      This is not so good for a lot of reasons but at the same time it's not fatal since 2.8.0 survived with osp artifacts in the wrong repo. But declarative settings like this should not be specified in projects unless the project is fully set up as an indie.

      Once I remove this code I should be able to modify one of my existing scripts and run it against a local copy of maven2/org/sakaiproject/osp and stitch these two versions of osp into the release repo where they actually belong. Then I can whack the copies from the snapshot repo.

      See https://jira.sakaiproject.org/browse/SAK-17351
      https://source.sakaiproject.org/viewsvn/osp/trunk/pom.xml?r1=69153&r2=75800

      <distributionManagement>
      <downloadUrl>http://source.sakaiproject.org/maven2/</downloadUrl>
      <repository>
      <uniqueVersion>false</uniqueVersion>
      <id>sakai-maven-snapshots-scp</id>
      <name>Sakai snapshot Repo</name>
      <url>scp://source.sakaiproject.org/var/www/html/maven2-snapshots</url>
      <layout>default</layout>
      </repository>
      </distributionManagement>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                arwhyte Anthony Whyte
                Reporter:
                arwhyte Anthony Whyte
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code