diff --git a/dhp-common/pom.xml b/dhp-common/pom.xml
index c2f76cff7..bfec019af 100644
--- a/dhp-common/pom.xml
+++ b/dhp-common/pom.xml
@@ -70,10 +70,7 @@
com.ibm.icu
icu4j
-
- org.apache.hadoop
- hadoop-common
-
+
com.github.sisyphsu
dateparser
@@ -163,7 +160,7 @@
eu.dnetlib.dhp
- ${dhp-schemas.artifact}
+ dhp-schemas
@@ -172,4 +169,23 @@
+
+
+
+ spark-34
+
+
+ javax.xml.bind
+ jaxb-api
+ 2.2.11
+
+
+ com.sun.xml.ws
+ jaxws-ri
+ 2.3.3
+ pom
+
+
+
+
diff --git a/dhp-workflows/dhp-aggregation/src/test/java/eu/dnetlib/dhp/collection/plugin/rest/OsfPreprintCollectorTest.java b/dhp-workflows/dhp-aggregation/src/test/java/eu/dnetlib/dhp/collection/plugin/rest/OsfPreprintCollectorTest.java
index 90f4c7f25..0e64f8bab 100644
--- a/dhp-workflows/dhp-aggregation/src/test/java/eu/dnetlib/dhp/collection/plugin/rest/OsfPreprintCollectorTest.java
+++ b/dhp-workflows/dhp-aggregation/src/test/java/eu/dnetlib/dhp/collection/plugin/rest/OsfPreprintCollectorTest.java
@@ -39,8 +39,8 @@ public class OsfPreprintCollectorTest {
private final String resumptionType = "page";
private final String resumptionXpath = "/*/*[local-name()='links']/*[local-name()='next']";
- private final String resultSizeParam = "";
- private final String resultSizeValue = "";
+ private final String resultSizeParam = "page[size]";
+ private final String resultSizeValue = "100";
private final String resultFormatParam = "format";
private final String resultFormatValue = "json";
@@ -74,7 +74,7 @@ public class OsfPreprintCollectorTest {
final AtomicInteger i = new AtomicInteger(0);
final Stream stream = this.rcp.collect(this.api, new AggregatorReport());
- stream.limit(200).forEach(s -> {
+ stream.limit(2000).forEach(s -> {
Assertions.assertTrue(s.length() > 0);
i.incrementAndGet();
log.info(s);