This package contains the SIARD command-line interface to download and upload relational databases in the SIARD (Software-Independent Archival of Relational Databases) Format 2.2.
Run the application from the command line:
./gradlew run
Run tests and build the package
./gradlew build
Runs all integration tests (Note: TestContainers is used, so Docker is required)
./gradlew build
It runs tests, builds the artifacts, packages them, and includes all additional required files for execution in a CLI into a single zip file under 'libs/deliverables'.
./gradlew packDeliverables
Versions and tags are managed with the Axion Release Plugin for Gradle (https://github.com/allegro/axion-release-plugin)
Short overview:
./gradlew currentVersion # show the current version
./gradlew release # creates a new release adds a tag and pushes it to remote.
Run the release task to create a new patch version and push it to remote. The GitHub Actions will create the deliverables.
A gradual migration to gradle has started. The roadmap for this migration looks as follows:
In order to implement the last step, all other dependent siard repositories must be migrated to gradle
./doc/manual/user/index.html contains the manual for using the binaries.
./doc/manual/developer/index.html is the manual for developers wishing to build the binaries or work on the code.
For building the binaries, Java JDK (1.8 or higher) and Ant must have been installed. A copy of build.properties.template must be called build.properties. In it using a text editor the local values must be entered as directed by the comments.
SiardCmd 2.1.58 has been built and tested with JAVA JDK 1.8, 9, and 10.
More information about the build process can be found in ./doc/manual/developer/build.html.