Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 32 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,41 @@
# Posten Signering – Java client Library
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/no.digipost.signature/signature-api-client-java/badge.svg)](https://maven-badges.herokuapp.com/maven-central/no.digipost.signature/signature-api-client-java)
[![javadoc](https://javadoc.io/badge2/no.digipost.signature/signature-api-client-java/javadoc.svg?logo=java&color=yellow)](https://javadoc.io/doc/no.digipost.signature/signature-api-client-java)
![](https://github.com/digipost/signature-api-client-java/workflows/Build%20and%20deploy/badge.svg)
[![License](https://img.shields.io/badge/license-Apache%202-blue)](https://github.com/digipost/signature-api-client-java/blob/main/LICENCE)

This repo is the Java client library for integrating with Posten signering. Please see [signature-api-client-dotnet](https://github.com/digipost/signature-api-client-dotnet) for the C# version.
This repo is the Java client library for integrating with **Posten signering**.

## 📕 Documentation
If you are looking for the C# variant of this library, please see [signature-api-client-dotnet](https://github.com/digipost/signature-api-client-dotnet).

## Documentation

Get started by [reading the documentation](http://signering-docs.rtfd.io/).

## Releasing (only for Digipost members)

See docs/systemer/open-source-biblioteker.md

## Dependency

The recommended way to declare dependency on the library is to utilize the [BOM](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#bill-of-materials-bom-poms). With Maven, this is declared like this:

```xml
<dependencyManagement>
<dependencies>
<dependency>
<groupId>no.digipost.signature</groupId>
<artifactId>signature-api-client-bom</artifactId>
<version>7.0.1</version> <!-- replace with any later version -->
<type>pom</type>
<scope>import</scope>
</dependency>
...
```

And depend directly on the library artifact (without any specified version, since this is supplied by the BOM artifact above)
```xml
<dependencies>
<dependency>
<groupId>no.digipost.signature</groupId>
<artifactId>signature-api-client-java</artifactId>
</dependency>
...
```
6 changes: 3 additions & 3 deletions lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>0.17.3</version>
<version>0.18.1</version>
<configuration>
<parameter>
<includes>
Expand All @@ -202,7 +202,7 @@
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version>
<version>3.5.1</version>
<configuration>
<minimizeJar>true</minimizeJar>
<artifactSet>
Expand Down Expand Up @@ -236,7 +236,7 @@
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.16.0</version>
<version>2.16.1</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down