The Planetary Data System Registry Manager provides functionality for configuring the PDS Registry Elastic. It's a sub-component of the PDS Registry Service (https://github.com/NASA-PDS/registry).
The documentation for the latest release of the PDS Registry (of which this software is a component)—including release notes, installation, and operation—is online at https://nasa-pds.github.io/registry/.
The software can be compiled and built with the mvn compile
command but in order to create the JAR file, you must execute the mvn compile jar:jar
command.
In order to create a complete distribution package, execute the following commands:
% mvn site
% mvn package
Thanks to GitHub Actions and the Roundup Action, this software is automatically released to the Maven Central Repository.
But if you need to do this manually, the procedure is described below.
.settings
configured correctly for GPG:
<profiles>
<profile>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.keyname>KEY_NAME</gpg.keyname>
<gpg.passphrase>KEY_PASSPHRASE</gpg.passphrase>
</properties>
</profile>
</profiles>
Checkout the dev branch.
Version the software:
$ mvn versions:set -DnewVersion=1.2.0
Deploy software to Sonatype Maven repo:
$ # Operational release
$ mvn clean site deploy -P release
Create pull request from dev → main and merge.
Tag release in Github
Update version to next snapshot:
$ mvn versions:set -DnewVersion=1.3.0-SNAPSHOT
$ # Operational release
$ mvn clean site deploy
This setion describes the Java jar dependencies.
https://search.maven.org/search?q=g:gov.nasa.pds%20AND%20a:registry&core=gav
https://oss.sonatype.org/content/repositories/snapshots/gov/nasa/pds/registry/
👉 Note: the above link may be broken.
If you want to access snapshots, add the following to your ~/.m2/settings.xml
:
<profiles>
<profile>
<id>allow-snapshots</id>
<activation><activeByDefault>true</activeByDefault></activation>
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
</profile>
</profiles>
The project is licensed under the Apache version 2 license.