This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-artifact-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new f69509a Cleanup tests (#198)
f69509a is described below
commit f69509aa99622618b07c4c406db383e102c1780f
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Dec 21 18:44:02 2025 +0100
Cleanup tests (#198)
Co-authored-by: Moderne <[email protected]>
---
pgp-keys-map.list | 8 +++++---
pom.xml | 11 ++---------
.../buildinfo/NotReproduciblePluginsDocumentationTest.java | 7 +++----
3 files changed, 10 insertions(+), 16 deletions(-)
diff --git a/pgp-keys-map.list b/pgp-keys-map.list
index 16308fb..b999316 100644
--- a/pgp-keys-map.list
+++ b/pgp-keys-map.list
@@ -26,17 +26,19 @@ commons-io:commons-io =
0x2DB4F1EF0FA761ECC4EA935C86FDC7E2A11262CB
commons-lang:commons-lang = 0x636DE9055C4C75C7BD9830771241BC872C5E4EC0
commons-logging:commons-logging = 0x0CC641C3A62453AB390066C4A41F13C999945293
dom4j:dom4j:*:1.1 = noSig
-javax.inject:javax.inject = noSig
-junit:junit = 0xFF6E2C001948C5F2F38B0CC385911F425EC61B51
org.apache.commons:commons-lang3 = 0x2DB4F1EF0FA761ECC4EA935C86FDC7E2A11262CB
org.apache.commons:commons-text = 0xB6E73D84EA4FCC47166087253FAAD2CD5ECBB314
org.apache.httpcomponents = 0x0785B3EFF60B1B1BEA94E0BB7C25280EAE63EBE5
org.apache.maven.* =
0xB920D295BF0E61CB4CF0896C33CD6733AF5EC452,0x6A814B1F869C2BBEAB7CB7271A2A1C94BDE89688,0xFA77DCFEF2EE6EB2DEBEDD2C012579464D01C06A,0x84789D24DF77A32433CE1F079EB80E92EB2135B1,0x29BEA2A645F2D6CED7FB12E02B172E3E156466E8,0x88BE34F94BDB2B5357044E2E3A387D43964143E3
org.apache.velocity = 0x7B9751FC3F01F134F476464CD0EB627D4885CED1
org.apache.xbean:xbean-reflect = 0x223D3A74B068ECA354DC385CE126833F9CF64915
+org.apiguardian:apiguardian-api:1.1.2 =
0xFF6E2C001948C5F2F38B0CC385911F425EC61B51
org.codehaus.plexus =
0x84789D24DF77A32433CE1F079EB80E92EB2135B1,0xFA77DCFEF2EE6EB2DEBEDD2C012579464D01C06A,0xB91AB7D2121DC6B0A61AA182D7742D58455ECC7C,0xF254B35617DC255D9344BCFA873A8E86B4372146,0x09A808E1930F779CC6C54807E4C753D85335E876,0x190D5A957FF22273E601F7A7C92C5FEC70161C62,0x073F7A9345756F3B40CDB99E6C70A3B7599C5736
org.codehaus.plexus:plexus-i18n:jar:1.0-beta-10 = noSig
org.codehaus.plexus:plexus-i18n:pom:1.0-beta-10 = noSig
-org.hamcrest = 0xE3A9F95079E84CE201F7CF60BEDE11EAF1164480
+org.junit.jupiter:junit-jupiter-api:5.13.1 =
0xFF6E2C001948C5F2F38B0CC385911F425EC61B51
+org.junit.platform:junit-platform-commons:1.13.1 =
0xFF6E2C001948C5F2F38B0CC385911F425EC61B51
+org.opentest4j:opentest4j:1.3.0 = 0xFF6E2C001948C5F2F38B0CC385911F425EC61B51
+org.opentest4j:opentest4j:1.3.0 = 0xFF6E2C001948C5F2F38B0CC385911F425EC61B51
org.slf4j:slf4j-api = 0x475F3B8E59E6E63AA78067482C7B12F2A511E325
oro:oro:*:2.0.8 = noSig
diff --git a/pom.xml b/pom.xml
index aa56240..0eaed1a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -158,15 +158,8 @@
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- <version>3.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.13.2</version>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<!-- reproducible-central report -->
diff --git
a/src/test/java/org/apache/maven/plugins/artifact/buildinfo/NotReproduciblePluginsDocumentationTest.java
b/src/test/java/org/apache/maven/plugins/artifact/buildinfo/NotReproduciblePluginsDocumentationTest.java
index fad622b..e1d2d6c 100644
---
a/src/test/java/org/apache/maven/plugins/artifact/buildinfo/NotReproduciblePluginsDocumentationTest.java
+++
b/src/test/java/org/apache/maven/plugins/artifact/buildinfo/NotReproduciblePluginsDocumentationTest.java
@@ -19,22 +19,21 @@
package org.apache.maven.plugins.artifact.buildinfo;
import java.io.File;
-import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
/**
* Test class to generate {@code target/generated-site/apt/plugin-issues.apt}
with content extracted from
* {@code
src/main/resources/org/apache/maven/plugins/artifact/buildinfo/not-reproducible-plugins.properties}
* adn generated from {@code src/test/resources/plugin-issues.apt}.
*/
-public class NotReproduciblePluginsDocumentationTest {
+class NotReproduciblePluginsDocumentationTest {
private static final String LS = System.lineSeparator();
@Test
- public void testBasic() throws IOException {
+ void basic() throws Exception {
File pluginIssuesApt = new
File("src/test/resources/plugin-issues.apt");
String content = new
String(Files.readAllBytes(pluginIssuesApt.toPath()), StandardCharsets.UTF_8);