Skip to content

Commit 1bb0c8a

Browse files
authored
Merge pull request #47 from jonesbusy/feature/strict-package
Declare dependencies explicitly and depends on jspecify api plugin
2 parents 02c5041 + f887565 commit 1bb0c8a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
3939
<spotless.check.skip>false</spotless.check.skip>
4040
<ban-junit4-imports.skip>false</ban-junit4-imports.skip>
41+
<hpi.bundledArtifacts>oras-java-sdk</hpi.bundledArtifacts>
42+
<hpi.strictBundledArtifacts>true</hpi.strictBundledArtifacts>
4143
</properties>
4244

4345
<dependencyManagement>
@@ -61,6 +63,15 @@
6163
<groupId>io.jenkins.plugins</groupId>
6264
<artifactId>gson-api</artifactId>
6365
</dependency>
66+
<dependency>
67+
<groupId>io.jenkins.plugins</groupId>
68+
<artifactId>gson-api</artifactId>
69+
</dependency>
70+
<dependency>
71+
<groupId>io.jenkins.plugins</groupId>
72+
<artifactId>jspecify-api</artifactId>
73+
<version>1.0.0-1.ve7231e6d0d15</version>
74+
</dependency>
6475
<dependency>
6576
<groupId>land.oras</groupId>
6677
<artifactId>oras-java-sdk</artifactId>
@@ -89,6 +100,11 @@
89100
<groupId>org.bouncycastle</groupId>
90101
<artifactId>bcprov-jdk18on</artifactId>
91102
</exclusion>
103+
<!-- provided by jspecify API plugin -->
104+
<exclusion>
105+
<groupId>org.jspecify</groupId>
106+
<artifactId>jspecify</artifactId>
107+
</exclusion>
92108
<!-- provided by jenkins core -->
93109
<exclusion>
94110
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)