diff --git a/pgp-keys-map.list b/pgp-keys-map.list index 8e42498..83e65d2 100644 --- a/pgp-keys-map.list +++ b/pgp-keys-map.list @@ -30,5 +30,4 @@ org.apache.maven.shared:maven-invoker = 0x84789D24DF77A32433CE1F079EB80E92EB2135 org.apache.maven.shared:maven-shared-utils = 0x84789D24DF77A32433CE1F079EB80E92EB2135B1 org.codehaus.plexus:plexus-classworlds = 0xB91AB7D2121DC6B0A61AA182D7742D58455ECC7C org.codehaus.plexus:plexus-component-annotations = 0xFA77DCFEF2EE6EB2DEBEDD2C012579464D01C06A -org.codehaus.plexus:plexus-utils = 0x84789D24DF77A32433CE1F079EB80E92EB2135B1 -org.codehaus.plexus:plexus-xml = 0x84789D24DF77A32433CE1F079EB80E92EB2135B1 +org.codehaus.plexus:plexus-utils = 0x32118CF76C9EC5D918E54967CA80D1F0EB6CA4BA diff --git a/pom.xml b/pom.xml index ac44be6..4d360ea 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ under the License. org.apache.maven.plugins maven-plugins - 43 + 45 @@ -133,15 +133,13 @@ under the License. org.apache.maven.plugin-tools maven-plugin-annotations + ${version.maven-plugin-tools} provided org.codehaus.plexus plexus-utils - - - org.codehaus.plexus - plexus-xml + 3.6.0 org.bouncycastle @@ -243,7 +241,6 @@ under the License. org.apache.maven.plugins maven-invoker-plugin - 3.9.0 org.simplify4u.plugins diff --git a/src/test/java/org/apache/maven/plugins/gpg/it/BcSignArtifactIT.java b/src/test/java/org/apache/maven/plugins/gpg/it/BcSignArtifactIT.java index 91aef65..c4c5aff 100644 --- a/src/test/java/org/apache/maven/plugins/gpg/it/BcSignArtifactIT.java +++ b/src/test/java/org/apache/maven/plugins/gpg/it/BcSignArtifactIT.java @@ -26,7 +26,9 @@ import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertTrue; public class BcSignArtifactIT extends ITSupport { public static Collection data() { diff --git a/src/test/java/org/apache/maven/plugins/gpg/it/InvokerTestUtils.java b/src/test/java/org/apache/maven/plugins/gpg/it/InvokerTestUtils.java index cdcfde8..71f15a8 100644 --- a/src/test/java/org/apache/maven/plugins/gpg/it/InvokerTestUtils.java +++ b/src/test/java/org/apache/maven/plugins/gpg/it/InvokerTestUtils.java @@ -80,7 +80,7 @@ public static BuildResult executeRequest( final File buildLog = new File(request.getBaseDirectory(request.getPomFile().getParentFile()), "build.log"); - try (final PrintStream buildLogStream = new PrintStream(buildLog)) { + try (PrintStream buildLogStream = new PrintStream(buildLog)) { final InvocationOutputHandler buildLogOutputHandler = new PrintStreamHandler(buildLogStream, false); final InvokerLogger logger = new PrintStreamLogger(buildLogStream, InvokerLogger.DEBUG);