Skip to content

kit-data-manager/repo-core

Repository files navigation

KIT Data Manager - Repository Service Core

build with gradle codecov CodeQL License

Library for building repos powered by KIT DM 2.0 services. It contains the core module for the repository microservice for the KIT DM infrastructure. The core module provides basic services for data resource management, e.g. register DataCite-oriented metadata and upload/download content to data resources. It also provides commonly used dependencies and general purpose implementations, e.g. helpers and exceptions.

How to build

In order to build this module you'll need:

  • Java SE Development Kit 17 or higher

After obtaining the sources change to the folder where the sources are located and call:

user@localhost:/home/user/repo-core$ ./gradlew publishToMavenLocal
BUILD SUCCESSFUL in 1s
3 actionable tasks: 3 executed
user@localhost:/home/user/repo-core$

The gradle wrapper will download and install gradle, if not already available. Afterwards, the module artifact will be built and installed into the local maven repository, from where it can be used by other projects.

Dependency from Maven Central Repository

Instead of using a local build you may also use the most recent version from the Central Maven Repository directly.

Maven

<dependency>
    <groupId>edu.kit.datamanager</groupId>
    <artifactId>repo-core</artifactId>
    <version>1.2.0</version>
</dependency>

Gradle (short)

    implementation "edu.kit.datamanager:repo-core:1.2.0"

License

This library is licensed under the Apache License, Version 2.0.