Skip to content

Commit 32b6682

Browse files
committed
Make ocfl-java explicitly ignore the custom extensions that we use, to avoid the warnings
which clutter the log for no good reason.
1 parent ca85bac commit 32b6682

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/nl/knaw/dans/datavault/core/OcflRepositoryProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ public void start() {
151151
try {
152152
ocflRepository = new OcflRepositoryBuilder()
153153
.unsupportedExtensionBehavior(UnsupportedExtensionBehavior.WARN)
154+
.ignoreUnsupportedExtensions(Set.of("object-version-properties", "property-registry", "packaging-format-registry"))
154155
.defaultLayoutConfig(layoutConfig)
155156
.inventoryCache(null)
156157
.storage(ocflStorage)

0 commit comments

Comments
 (0)