Skip to content

Commit 5bcd7ae

Browse files
Merge branch 'dspace-cris-2024_02_x' into main-cris
2 parents ff633a5 + 65a9099 commit 5bcd7ae

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

dspace-api/src/main/java/org/dspace/administer/RegistryLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public static void main(String[] argv) throws Exception {
112112
}
113113
// Call MetadataImporter, as it handles Metadata schema updates
114114
MetadataImporter.loadRegistry(filename, true);
115-
} else if (line.hasOption("all")) {
115+
} else if (line.hasOption("a")) {
116116
loadAllBitstreamFormats(context);
117117
loadAllRegistry();
118118
} else {
@@ -150,7 +150,7 @@ private static Options createCommandLineOptions() {
150150

151151
options.addOption("b", "bitstream", true, "load bitstream format registry from specified file");
152152
options.addOption("m", "metadata", true, "load metadata registry from specified file");
153-
options.addOption("a", "all", true, "load all registries related to metadata and bitsreams");
153+
options.addOption("a", "all", false, "load all registries related to metadata and bitsreams");
154154
options.addOption("h", "help", false, "print this help message");
155155

156156
return options;

dspace-server-webapp/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -676,14 +676,6 @@
676676
</exclusions>
677677
</dependency>
678678

679-
<!-- Specify the version of json-smart we want to use.
680-
This solves a version mismatch between nimbus-jose-jwt and json-path below. -->
681-
<dependency>
682-
<groupId>net.minidev</groupId>
683-
<artifactId>json-smart</artifactId>
684-
<version>2.5.2</version>
685-
</dependency>
686-
687679
<dependency>
688680
<groupId>org.apache.solr</groupId>
689681
<artifactId>solr-solrj</artifactId>

0 commit comments

Comments
 (0)