diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/constants/SIARDConstants.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/constants/SIARDConstants.java index c6de04bed..6f31e5acd 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/constants/SIARDConstants.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/constants/SIARDConstants.java @@ -32,6 +32,8 @@ public enum SiardVersion { // eCH-0165 v2.1: most recent version V2_1("2", "2.1", "v2.1"), + V2_2("2", "2.2", "v2.2"), + // danish v1.0 fork DK("1.0", "dk"), diff --git a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/input/SIARD2ImportModule.java b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/input/SIARD2ImportModule.java index 0cee57965..8ab757f75 100644 --- a/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/input/SIARD2ImportModule.java +++ b/dbptk-modules/dbptk-module-siard/src/main/java/com/databasepreservation/modules/siard/in/input/SIARD2ImportModule.java @@ -93,6 +93,9 @@ public SIARD2ImportModule(Path siardPackagePath, boolean auxiliaryContainersInZi case V2_1: metadataStrategy = new SIARD21MetadataImportStrategy(metadataPathStrategy, contentPathStrategy); break; + case V2_2: + metadataStrategy = new SIARD21MetadataImportStrategy(metadataPathStrategy, contentPathStrategy); + break; default: metadataStrategy = null; }