Skip to content

Working With SNAPSHOTS

Thib Guicherd-Callin edited this page Nov 22, 2022 · 5 revisions

Development snapshots of LOCKSS components and tools are created as new features mature or at other significant development milestones. They have SNAPSHOT version numbers which change only when official releases are created, but they're typically updated many times between official releases, reusing the same version numbers. They're stored in the Sonatype OSSRH Maven repository, which Maven doesn't know about by default.

runcluster runs these versions by default, and some wiki pages may contain instructions to run SNAPSHOT versions of tools. runcluster knows where to find them, but some one-time setup is needed before they can be used to build plugins, or in order to work with LOCKSS development branches.

Either:

  <profiles>
    <profile>
      <id>ossrh-snapshots</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <id>ossrh-snapshots</id>
          <name>Sonatype OSSRH Snapshots</name>
          <url>https://oss.sonatype.org/service/local/repositories/snapshots/content</url>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>daily</updatePolicy>
          </snapshots>
          <releases>
            <enabled>false</enabled>
            <updatePolicy>never</updatePolicy>
          </releases>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>ossrh-snapshots</id>
          <name>Sonatype OSSRH Snapshots</name>
          <url>https://oss.sonatype.org/service/local/repositories/snapshots/content</url>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>daily</updatePolicy>
          </snapshots>
          <releases>
            <enabled>false</enabled>
            <updatePolicy>never</updatePolicy>
          </releases>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
Clone this wiki locally