diff --git a/pom.xml b/pom.xml index 35f5506..01ab92f 100644 --- a/pom.xml +++ b/pom.xml @@ -58,8 +58,8 @@ - 2.0.0-SNAPSHOT - 5.0.0-SNAPSHOT + 2.0.0 + 5.0.0 https://oscal-cli.metaschema.dev diff --git a/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java b/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java index 4b7c7d2..c74cf65 100644 --- a/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java +++ b/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java @@ -164,8 +164,7 @@ protected void executeCommand( ISerializer serializer = bindingContext.newSerializer(toFormat, Catalog.class); try { if (destination == null) { - @SuppressWarnings({ "resource", "PMD.CloseResource" }) - PrintStream stdOut = ObjectUtils.notNull(System.out); + @SuppressWarnings({ "resource", "PMD.CloseResource" }) PrintStream stdOut = ObjectUtils.notNull(System.out); serializer.serialize((Catalog) INodeItem.toValue(resolvedProfile), stdOut); } else { serializer.serialize((Catalog) INodeItem.toValue(resolvedProfile), destination);