diff --git a/pom.xml b/pom.xml index 1612e97e..bbfdaaf4 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ - 1.24.0 + 1.25.0 5.10.1 4.11.0 1.18.30 diff --git a/src/main/java/io/kokuwa/maven/helm/InitMojo.java b/src/main/java/io/kokuwa/maven/helm/InitMojo.java index 12f42647..b9de507d 100644 --- a/src/main/java/io/kokuwa/maven/helm/InitMojo.java +++ b/src/main/java/io/kokuwa/maven/helm/InitMojo.java @@ -268,7 +268,7 @@ protected PasswordAuthentication getPasswordAuthentication() { try (InputStream dis = openConnection(url).getInputStream(); InputStream cis = createCompressorInputStream(dis); - ArchiveInputStream is = createArchiverInputStream(cis)) { + ArchiveInputStream is = createArchiverInputStream(cis)) { // create directory if not present Files.createDirectories(directory); @@ -359,7 +359,7 @@ private void addExecPermission(Path helm) throws IOException { } } - private ArchiveInputStream createArchiverInputStream(InputStream is) throws MojoExecutionException { + private ArchiveInputStream createArchiverInputStream(InputStream is) throws MojoExecutionException { // Stream must support mark to allow for auto detection of compressor InputStream inputStream = is.markSupported() ? is : new BufferedInputStream(is);