This server library is an implementation of the SWORD 2.0 standard defined here (SWORD 2.0 profile)
The variant hosted in this repository is being used as the library of choice to implement the compliant interface for Dataverse. It also gets pushed to Maven Central.
This library does no longer support RFC2387 type uploads (multipart/related)! It will present users an error message, telling them to use Atom instead.
Support for this type of uploads was broken for a long time and did not make it into SWORD v3. It was tagged for removal for a SWORD v2.1 spec, which never happened.
This library uses Jakarta EE Servlet API 6+ contained in Jakarta EE 10 or newer. Implementing applications should use these namespace-shifted libs, too. Your mileage may vary, depending on your application server's possibilities.
This library requires Java 17.
- This library has been develop by @richard-jonnes and @bmckinney at https://github.com/swordapp/JavaServer2.0 first.
- As development has been stalled, DANS-KNAW took as part of project EASY at https://github.com/DANS-KNAW/easy-sword2-lib
- MyCoRe project forked and maintain their own version with interesting changes. https://github.com/MyCoRe-Org/easy-sword2-lib
- IQSS needed a fix in the original library and has switched from their own fork at https://github.com/IQSS/swordv2-java-server-library to this fork.