Skip to content

Commit

Permalink
configures Dataverse to build with the newly-released final xoai-5.0.0!
Browse files Browse the repository at this point in the history
  • Loading branch information
landreev committed Feb 1, 2023
1 parent 839065a commit 3cb7707
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions modules/dataverse-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@
<apache.httpcomponents.core.version>4.4.14</apache.httpcomponents.core.version>

<!-- NEW gdcc XOAI library implementation -->
<!-- gdcc.xoai.version>5.0.0-RC2</gdcc.xoai.version -->
<gdcc.xoai.version>5.0.0-SNAPSHOT</gdcc.xoai.version>
<gdcc.xoai.version>5.0.0</gdcc.xoai.version>

<!-- Testing dependencies -->
<testcontainers.version>1.15.0</testcontainers.version>
Expand Down Expand Up @@ -325,7 +324,7 @@
<name>Local repository for hosting jars not available from network repositories.</name>
<url>file://${project.basedir}/local_lib</url>
</repository>
<!-- Uncomment when using snapshot releases from Maven Central -->
<!-- Uncomment when using snapshot releases from Maven Central
<repository>
<id>oss-sonatype</id>
<name>oss-sonatype</name>
Expand All @@ -336,7 +335,7 @@
<enabled>true</enabled>
</snapshots>
</repository>
<!-- -->
-->
</repositories>

<profiles>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ private RepositoryConfiguration createRepositoryConfiguration() {
.withAdminEmail(systemEmailLabel)
.withCompression("gzip")
.withCompression("deflate")
.withGranularity(Granularity.Second)
.withGranularity(Granularity.Lenient)
.withResumptionTokenFormat(new SimpleResumptionTokenFormat().withGranularity(Granularity.Second))
.withRepositoryName(repositoryName)
.withBaseUrl(systemConfig.getDataverseSiteUrl()+"/oai")
Expand Down

0 comments on commit 3cb7707

Please sign in to comment.