Skip to content

Commit

Permalink
Update dependencies, JUnit and digidoc4j has been upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
alapierre committed Dec 26, 2023
1 parent d8927f2 commit b8a1491
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion digital-signature-master/digital-signature-pdf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import eu.europa.esig.dss.token.PasswordInputCallback;
import eu.europa.esig.dss.token.PrefilledPasswordCallback;
import lombok.val;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import java.io.FileInputStream;
Expand All @@ -20,6 +21,7 @@ class CardSignerTest {
private final PasswordInputCallback callback = new PrefilledPasswordCallback(new KeyStore.PasswordProtection(pin.toCharArray()));

@Test
@Disabled
void testSign() throws IOException {

val signer = new CardSigner("/opt/proCertumSmartSign", "cryptoCertum3PKCS", 1, callback);
Expand Down
11 changes: 6 additions & 5 deletions digital-signature-master/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<digidoc4j.version>5.12.1</digidoc4j.version>
<digidoc4j.version>6.0</digidoc4j.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -127,10 +127,11 @@
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.9.2</version>
<scope>test</scope>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.10.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>

</dependencies>
Expand Down

0 comments on commit b8a1491

Please sign in to comment.