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

Fix search base pom in order to support Maven 2/3 releases

    XMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.2, 2.8.1, 2.9.0
    • Fix Version/s: 2.9.0
    • Component/s: Search
    • Labels:

      Description

      SAK-21390 purepom changes broke all the Maven 2 Jenkins build jobs.

      Fix by slimming down the <distributionManagement> section in the base pom of trunk indies in order to eliminate unnecessarily overriding purepoms values. Add the <build> wagon extension as well.

      FROM:
      <distributionManagement>
      <downloadUrl>http://source.sakaiproject.org/maven2/&lt;/downloadUrl>
      <snapshotRepository>
      <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>
      </snapshotRepository>
      <repository>
      <uniqueVersion>false</uniqueVersion>
      <id>sakai-maven2-scp</id>
      <name>Sakai maven2 repository</name>
      <url>scp://source.sakaiproject.org/var/www/html/maven2</url>
      <layout>default</layout>
      </repository>
      <site>
      <id>sakai-site</id>
      <name>Sakai release Site</name>
      <url>${url.localsite}</url>
      </site>
      </distributionManagement>

      TO:
      <distributionManagement>
      <site>
      <id>sakai-site</id>
      <name>Sakai release Site</name>
      <url>scp://source.sakaiproject.org/var/www/html/release/search/${project.version}</url>
      </site>
      </distributionManagement>

      Get rid of the <url.localsite> property while you are it. It's redundant.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                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 Integration