Skip to content

Commit

Permalink
Merge pull request #126 from NASA-PDS/issue_119
Browse files Browse the repository at this point in the history
Add harvest version to Registry product metadata (from Registry Commons)
  • Loading branch information
jordanpadams authored Aug 8, 2023
2 parents 99c1fbb + 671332a commit 1aa9b8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<dependency>
<groupId>gov.nasa.pds</groupId>
<artifactId>registry-common</artifactId>
<version>1.4.0</version>
<version>1.5.0-SNAPSHOT</version>
</dependency>
</dependencies>

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/gov/nasa/pds/harvest/HarvestCli.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import gov.nasa.pds.harvest.cmd.CliCommand;
import gov.nasa.pds.harvest.cmd.HarvestCmd;
import gov.nasa.pds.harvest.util.log.Log4jConfigurator;
import gov.nasa.pds.registry.common.meta.Metadata;
import gov.nasa.pds.registry.common.util.ExceptionUtils;
import gov.nasa.pds.registry.common.util.ManifestUtils;

Expand Down Expand Up @@ -45,6 +46,7 @@ public HarvestCli()
*/
public void run(String[] args)
{
Metadata.reportHarvestVersion(HarvestCli.class.getPackage().getImplementationVersion());
if(args.length == 0)
{
printHelp();
Expand Down

0 comments on commit 1aa9b8b

Please sign in to comment.