File tree Expand file tree Collapse file tree
src/test/java/io/jenkins/plugins/oras/java/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 </scm >
3131
3232 <properties >
33- <revision >0.4.2 </revision >
33+ <revision >0.5.0 </revision >
3434 <changelist >999999-SNAPSHOT</changelist >
3535 <!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
3636 <jenkins .baseline>2.516</jenkins .baseline>
5252 <type >pom</type >
5353 <scope >import</scope >
5454 </dependency >
55+ <!-- Until on bom -->
56+ <dependency >
57+ <groupId >io.jenkins.plugins</groupId >
58+ <artifactId >micrometer-core-api</artifactId >
59+ <version >1.16.4-4.vb_dfa_edea_107c</version >
60+ </dependency >
5561 </dependencies >
5662 </dependencyManagement >
5763 <dependencies >
5864 <!-- Dependencies -->
65+ <dependency >
66+ <groupId >io.jenkins.plugins</groupId >
67+ <artifactId >caffeine-api</artifactId >
68+ </dependency >
5969 <dependency >
6070 <groupId >io.jenkins.plugins</groupId >
6171 <artifactId >commons-compress-api</artifactId >
6878 <groupId >io.jenkins.plugins</groupId >
6979 <artifactId >jspecify-api</artifactId >
7080 </dependency >
81+ <dependency >
82+ <groupId >io.jenkins.plugins</groupId >
83+ <artifactId >micrometer-core-api</artifactId >
84+ </dependency >
7185 <dependency >
7286 <groupId >land.oras</groupId >
7387 <artifactId >oras-java-sdk</artifactId >
7892 <groupId >com.fasterxml.jackson.core</groupId >
7993 <artifactId >jackson-annotations</artifactId >
8094 </exclusion >
95+ <!-- provided by caffeine API plugin -->
96+ <exclusion >
97+ <groupId >com.github.ben-manes.caffeine</groupId >
98+ <artifactId >caffeine</artifactId >
99+ </exclusion >
81100 <!-- provided by commons-compress API plugin -->
82101 <exclusion >
83102 <groupId >com.github.luben</groupId >
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ void compressionShouldWork(@TempDir Path tempDir) throws Exception {
7373 Files .writeString (tempDir .resolve ("file2.txt" ), "barfoo" );
7474 LocalPath tar = ArchiveUtils .tar (LocalPath .of (tempDir ));
7575 ArchiveUtils .compress (tar , Const .DEFAULT_BLOB_DIR_MEDIA_TYPE ); // gzip
76+ ArchiveUtils .compress (tar , Const .ZIP_MEDIA_TYPE ); // zip
7677 ArchiveUtils .compress (tar , Const .BLOB_DIR_ZSTD_MEDIA_TYPE ); // zstd
7778 }
7879}
You can’t perform that action at this time.
0 commit comments