Hei,
I am backporting the XOAI update (#11635) into version 6.3.
In PR #11635, Dataverse updated XOAI to a patched version (with a secure XMLInputFactory).
This change was made in the pom.xml file (Maven dependency).
I want to update the pom.xml file to use the new XOAI version and rebuild Dataverse so that the patched XOAI is included.
However, I am encountering error messages stating that the <repository> declaration is incorrect.
What is the correct configuration? I have tried several alternatives, but none have been successful.
1.
<repositories>
<repository>
<id>central</id>
<url>
https://repo1.maven.org/maven2/</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
</repositories>
2.
<repositories>
<repository>
<id>central</id>
<url>
https://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>
oss.sonatype.org</id>
<url>
https://oss.sonatype.org/content/repositories/releases/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
3.
<repositories>
<repository>
<id>unidata-all</id>
<name>Unidata All Repository</name>
<url>
https://artifacts.unidata.ucar.edu/repository/unidata-all/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
Regard,
Obi