@@ -6,12 +6,16 @@ The library is a wrapper around [Spring Security](https://spring.io/projects/spr
While still being used, the former v1.4 is discontinued and - being based on OpenSAML 2 ([also discontinued](https://wiki.shibboleth.net/confluence/display/OpenSAML/Home)) - should be replaced with a recent version.
## Deployment and distribution
## Getting started
The library and sample application are deployed to a Maven repository at [https://minfba.de.dariah.eu/nexus]. Repository configuration can be included in Maven and Gradle settings and build configurations with the following snippets.
#### 1a) Maven: repository configuration
### Maven setup
The Proxy repository _minfba-central_ provides access to releases and snapshots.
Please find information on the current version of dariahsp-core at the [respective package](https://minfba.de.dariah.eu/nexus/#browse/browse:minfba-central:eu%2Fdariah%2Fde%2Fdariahsp-core) in the deployment repository:
#### Repository configuration
The Proxy repository _minfba-central_ provides combined access to releases and snapshots.
```xml
<repository>
...
...
@@ -36,37 +40,52 @@ The release and snapshot repositories can be used selectively as well.
</snapshotRepository>
```
#### 1b) Gradle: repository configuration
#### Dependency to dariahsp-core
Include the dependency to dariahsp-core in your `pom.xml`.
```xml
<dependency>
<groupId>eu.dariah.de</groupId>
<artifactId>dariahsp-core</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
```
### Gradle setup
Likewise, repository configuration in Gradle can be based on the central or dedicated snapshot and release repositories as well.
#### Repository configuration
For combined access to releases and snapshots, the Proxy repository _minfba-central_ can be utilized.