Skip to content

Commit

Permalink
Bump org.apache.commons:commons-compress from 1.24.0 to 1.25.0 (#343)
Browse files Browse the repository at this point in the history
* Bump org.apache.commons:commons-compress from 1.24.0 to 1.25.0

Bumps org.apache.commons:commons-compress from 1.24.0 to 1.25.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix issues with new version.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stephan Schnabel <[email protected]>
  • Loading branch information
dependabot[bot] and sschnabe authored Dec 1, 2023
1 parent c04fe43 commit 3e8f8df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<!-- ============================= Versions ============================== -->
<!-- ===================================================================== -->

<version.org.apache.commons.compress>1.24.0</version.org.apache.commons.compress>
<version.org.apache.commons.compress>1.25.0</version.org.apache.commons.compress>
<version.org.junit.jupiter>5.10.1</version.org.junit.jupiter>
<version.org.mockito>4.11.0</version.org.mockito>
<version.org.projectlombok>1.18.30</version.org.projectlombok>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/kokuwa/maven/helm/InitMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 3e8f8df

Please sign in to comment.