Skip to content

Commit 526f7e9

Browse files
authored
Merge pull request #93 from jonesbusy/feature/test-snapshot
Update to 0.5.0
2 parents 790a9f6 + 027b403 commit 526f7e9

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

pom.xml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
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>
@@ -52,10 +52,20 @@
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>
@@ -68,6 +78,10 @@
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>
@@ -78,6 +92,11 @@
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>

src/test/java/io/jenkins/plugins/oras/java/api/SmokeTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)