Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2697

Build heritrix3 bundle with BDB-5.0.x branch of H3 NAS

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • None
    • None
    • None
    • None

    Description

      Build and deploy H3 as a third party project using the following.

      In ~/.m2/settings.xml you need the following section with your credentials.

      <settings>
      <servers>
      <server>
      <id>sbforge</id>
      <username>..</username>
      <password>..</password>
      </server>
      </servers>
      </settings>

      In the H3 project folder.

      mvn -DskipTests clean install
      cd contrib
      mvn -DskipTests clean install
      cd ..

      export VERSION=3.3.0-BDB-5.0.x

      mvn org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file \
      -Durl=https://sbforge.org/nexus/content/repositories/thirdparty/ \
      -DrepositoryId=sbforge \
      -DpomFile=dist/pom.xml \
      Dfile=dist/target/heritrix${VERSION}-dist.zip \
      -Dpackaging=zip \
      -Dclassifier=dist

      mvn org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file \
      -Durl=https://sbforge.org/nexus/content/repositories/thirdparty/ \
      -DrepositoryId=sbforge \
      -DpomFile=pom.xml \
      -Dfile=pom.xml \
      -Dpackaging=pom

      mvn org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file \
      -Durl=https://sbforge.org/nexus/content/repositories/thirdparty/ \
      -DrepositoryId=sbforge \
      -DpomFile=commons/pom.xml \
      Dfile=commons/target/heritrix-commons${VERSION}.jar \
      Dsources=commons/target/heritrix-commons${VERSION}-sources.jar

      mvn org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file \
      -Durl=https://sbforge.org/nexus/content/repositories/thirdparty/ \
      -DrepositoryId=sbforge \
      -DpomFile=engine/pom.xml \
      Dfile=engine/target/heritrix-engine${VERSION}.jar \
      Dsources=engine/target/heritrix-engine${VERSION}-sources.jar

      mvn org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file \
      -Durl=https://sbforge.org/nexus/content/repositories/thirdparty/ \
      -DrepositoryId=sbforge \
      -DpomFile=modules/pom.xml \
      Dfile=modules/target/heritrix-modules${VERSION}.jar \
      Dsources=modules/target/heritrix-modules${VERSION}-sources.jar

      mvn org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file \
      -Durl=https://sbforge.org/nexus/content/repositories/thirdparty/ \
      -DrepositoryId=sbforge \
      -DpomFile=contrib/pom.xml \
      Dfile=contrib/target/heritrix-contrib${VERSION}.jar \
      Dsources=contrib/target/heritrix-contrib${VERSION}-sources.jar

      Attachments

        Issue Links

          Activity

            People

              nicl@kb.dk Nicholas Clarke (Inactive)
              nicl@kb.dk Nicholas Clarke (Inactive)
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: