Skip to content

Commit

Permalink
Bump plexus-archiver from 3.4 to 4.2.5 (#36)
Browse files Browse the repository at this point in the history
* Bump plexus-archiver from 3.4 to 4.2.5

Bumps [plexus-archiver](https://github.com/codehaus-plexus/plexus-archiver) from 3.4 to 4.2.5.
- [Release notes](https://github.com/codehaus-plexus/plexus-archiver/releases)
- [Changelog](https://github.com/codehaus-plexus/plexus-archiver/blob/master/ReleaseNotes.md)
- [Commits](codehaus-plexus/plexus-archiver@plexus-archiver-3.4...plexus-archiver-4.2.5)

---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-archiver
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix upgrade

Signed-off-by: Olivier Lamy <olamy@apache.org>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Olivier Lamy <olamy@apache.org>
  • Loading branch information
dependabot[bot] and olamy committed Aug 17, 2021
1 parent c0eaf73 commit fe19cf7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Expand Up @@ -72,20 +72,16 @@ public void testDirectoryContent() throws Exception
Artifact mainArtifact = new Artifact( "localhost", "mrm-15", "1.0", "jar" );
assertNotNull( artifactStore.get( mainArtifact ) );

List<String> names = new ArrayList<String>();
JarInputStream jis = new JarInputStream( artifactStore.get( mainArtifact ) );
try
List<String> names = new ArrayList<>();

try (JarInputStream jis = new JarInputStream( artifactStore.get( mainArtifact ) ) )
{
JarEntry jarEntry;
while ( ( jarEntry = jis.getNextJarEntry() ) != null )
{
names.add( jarEntry.getName() );
}
}
finally
{
jis.close();
}

assertTrue( names.contains( "README.txt" ) );
}
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -132,12 +132,12 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.0.24</version>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId>
<version>3.4</version>
<version>4.2.5</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down

0 comments on commit fe19cf7

Please sign in to comment.