diff --git a/CHANGELOG.md b/CHANGELOG.md index 25e586f..a71fa9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **PODAAC-5876** - Update to use CMA 2.0.0, thus allowing 2.0.3 layer for lambda - Update build to use java 11 + - To generate java 11 compatible UMMG schema POJOs, jsonschema2pojo shall make use of command line parameter: --target-version 1.11 ### Deprecated ### Removed ### Fixed diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/AdditionalAttributeType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/AdditionalAttributeType.java index f3d942c..21e88fc 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/AdditionalAttributeType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/AdditionalAttributeType.java @@ -3,7 +3,6 @@ import java.util.ArrayList; import java.util.List; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * A reference to an additional attribute in the parent collection. The attribute reference may contain a granule specific value that will override the value in the parent collection for this granule. An attribute with the same name must exist in the parent collection. * */ -@Generated("jsonschema2pojo") public class AdditionalAttributeType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/BoundaryType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/BoundaryType.java index 6bf0573..e4aca53 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/BoundaryType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/BoundaryType.java @@ -3,7 +3,6 @@ import java.util.ArrayList; import java.util.List; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * A boundary is set of points connected by straight lines representing a polygon on the earth. It takes a minimum of three points to make a boundary. Points must be specified in counter-clockwise order and closed (the first and last vertices are the same). * */ -@Generated("jsonschema2pojo") public class BoundaryType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/BoundingRectangleType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/BoundingRectangleType.java index dae33ad..5bbd991 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/BoundingRectangleType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/BoundingRectangleType.java @@ -1,7 +1,6 @@ package gov.nasa.cumulus.metadata.umm.generated; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -10,7 +9,6 @@ * This entity holds the horizontal spatial coverage of a bounding box. * */ -@Generated("jsonschema2pojo") public class BoundingRectangleType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/ExclusiveZoneType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/ExclusiveZoneType.java index 6cbc703..ecedbb4 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/ExclusiveZoneType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/ExclusiveZoneType.java @@ -3,7 +3,6 @@ import java.util.ArrayList; import java.util.List; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * Contains the excluded boundaries from the GPolygon. * */ -@Generated("jsonschema2pojo") public class ExclusiveZoneType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/GPolygonType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/GPolygonType.java index b6b2d91..d57a4d4 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/GPolygonType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/GPolygonType.java @@ -1,7 +1,6 @@ package gov.nasa.cumulus.metadata.umm.generated; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -10,7 +9,6 @@ * A GPolygon specifies an area on the earth represented by a main boundary with optional boundaries for regions excluded from the main boundary. * */ -@Generated("jsonschema2pojo") public class GPolygonType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/GeometryType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/GeometryType.java index 80f2c66..6eda0f4 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/GeometryType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/GeometryType.java @@ -3,7 +3,6 @@ import java.util.LinkedHashSet; import java.util.Set; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * This entity holds the geometry representing the spatial coverage information of a granule. * */ -@Generated("jsonschema2pojo") public class GeometryType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/HorizontalSpatialDomainType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/HorizontalSpatialDomainType.java index 9c5c7c5..ae42034 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/HorizontalSpatialDomainType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/HorizontalSpatialDomainType.java @@ -1,7 +1,6 @@ package gov.nasa.cumulus.metadata.umm.generated; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -10,7 +9,6 @@ * Information about a granule with horizontal spatial coverage. * */ -@Generated("jsonschema2pojo") public class HorizontalSpatialDomainType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/LineType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/LineType.java index 31b4e12..d55c423 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/LineType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/LineType.java @@ -3,7 +3,6 @@ import java.util.ArrayList; import java.util.List; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * This entity holds the horizontal spatial coverage of a line. A line area contains at lease two points. * */ -@Generated("jsonschema2pojo") public class LineType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/OrbitType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/OrbitType.java index 20feb89..8b07027 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/OrbitType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/OrbitType.java @@ -3,7 +3,6 @@ import java.util.HashMap; import java.util.Map; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * This entity stores orbital coverage information of the granule. This coverage is an alternative way of expressing granule spatial coverage. This information supports orbital backtrack searching on a granule. * */ -@Generated("jsonschema2pojo") public class OrbitType { /** @@ -206,7 +204,6 @@ public boolean equals(Object other) { * Orbit start and end direction. A for ascending orbit and D for descending. * */ - @Generated("jsonschema2pojo") public enum OrbitDirectionTypeEnum { @SerializedName("A") diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/PointType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/PointType.java index 8326a6c..627eea0 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/PointType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/PointType.java @@ -1,7 +1,6 @@ package gov.nasa.cumulus.metadata.umm.generated; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -10,7 +9,6 @@ * The longitude and latitude values of a spatially referenced point in degrees. * */ -@Generated("jsonschema2pojo") public class PointType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/RelatedUrlType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/RelatedUrlType.java index 4d9649b..d292a0c 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/RelatedUrlType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/RelatedUrlType.java @@ -3,7 +3,6 @@ import java.util.HashMap; import java.util.Map; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * This entity holds all types of online URL associated with the granule such as guide document or ordering site etc. * */ -@Generated("jsonschema2pojo") public class RelatedUrlType { /** @@ -257,7 +255,6 @@ public boolean equals(Object other) { * The unit of the file size. * */ - @Generated("jsonschema2pojo") public enum FileSizeUnitEnum { @SerializedName("KB") @@ -305,7 +302,6 @@ public static RelatedUrlType.FileSizeUnitEnum fromValue(String value) { } - @Generated("jsonschema2pojo") public enum MimeTypeEnum { @SerializedName("application/json") @@ -397,7 +393,6 @@ public static RelatedUrlType.MimeTypeEnum fromValue(String value) { } - @Generated("jsonschema2pojo") public enum RelatedUrlSubTypeEnum { @SerializedName("MOBILE APP") @@ -569,7 +564,6 @@ public static RelatedUrlType.RelatedUrlSubTypeEnum fromValue(String value) { } - @Generated("jsonschema2pojo") public enum RelatedUrlTypeEnum { @SerializedName("DOWNLOAD SOFTWARE") diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/SpatialExtentType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/SpatialExtentType.java index dcb6012..9c8cf66 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/SpatialExtentType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/SpatialExtentType.java @@ -3,7 +3,6 @@ import java.util.LinkedHashSet; import java.util.Set; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * This class contains attributes which describe the spatial extent of a granule. Spatial Extent includes any or all of Granule Localities, Horizontal Spatial Domain, and Vertical Spatial Domain. * */ -@Generated("jsonschema2pojo") public class SpatialExtentType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/TrackPassTileType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/TrackPassTileType.java index 3879737..ecf7c81 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/TrackPassTileType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/TrackPassTileType.java @@ -3,7 +3,6 @@ import java.util.ArrayList; import java.util.List; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * This element stores a track pass and its tile information. It will allow a user to search by pass number and their tiles that are contained with in a cycle number. While trying to keep this generic for all to use, this comes from a SWOT requirement where a pass represents a 1/2 orbit. This element will then hold a list of 1/2 orbits and their tiles that together represent the granules spatial extent. * */ -@Generated("jsonschema2pojo") public class TrackPassTileType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/TrackType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/TrackType.java index 54c17da..f8154b2 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/TrackType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/TrackType.java @@ -3,7 +3,6 @@ import java.util.ArrayList; import java.util.List; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * This element stores track information of the granule. Track information is used to allow a user to search for granules whose spatial extent is based on an orbital cycle, pass, and tile mapping. Though it is derived from the SWOT mission requirements, it is intended that this element type be generic enough so that other missions can make use of it. While track information is a type of spatial domain, it is expected that the metadata provider will provide geometry information that matches the spatial extent of the track information. * */ -@Generated("jsonschema2pojo") public class TrackType { /** diff --git a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/VerticalSpatialDomainType.java b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/VerticalSpatialDomainType.java index 1bfaed7..907ef0e 100644 --- a/src/main/java/gov/nasa/cumulus/metadata/umm/generated/VerticalSpatialDomainType.java +++ b/src/main/java/gov/nasa/cumulus/metadata/umm/generated/VerticalSpatialDomainType.java @@ -3,7 +3,6 @@ import java.util.HashMap; import java.util.Map; -import javax.annotation.processing.Generated; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -12,7 +11,6 @@ * This entity contains the type and value for the granule's vertical spatial domain. * */ -@Generated("jsonschema2pojo") public class VerticalSpatialDomainType { @SerializedName("Type") @@ -179,7 +177,6 @@ public boolean equals(Object other) { * Describes the unit of the vertical extent value. * */ - @Generated("jsonschema2pojo") public enum Unit { @SerializedName("Fathoms") @@ -235,7 +232,6 @@ public static VerticalSpatialDomainType.Unit fromValue(String value) { } - @Generated("jsonschema2pojo") public enum VerticalSpatialDomainTypeEnum { @SerializedName("Atmosphere Layer")