Skip to content

Commit 1185430

Browse files
authored
Declare plugin dependencies explicitly (#1801)
Do not allow new bundled dependencies without a change to the list of bundled dependencies. Inspired by pull request: * jenkinsci/maven-hpi-plugin#771 Testing done: Confirmed that compilation passes. Rely on ci.jenkins.io for more complete testing.
1 parent 9439eb2 commit 1185430

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.jenkins-ci.plugins</groupId>
66
<artifactId>plugin</artifactId>
7-
<version>5.19</version>
7+
<version>5.22</version>
88
<relativePath />
99
</parent>
1010

@@ -50,7 +50,9 @@
5050
<spotbugs.effort>Max</spotbugs.effort>
5151
<spotbugs.threshold>Low</spotbugs.threshold>
5252
<gitHubRepo>jenkinsci/${project.artifactId}</gitHubRepo>
53+
<hpi.bundledArtifacts>jakarta.validation-api,jboss-annotations-api_1.3_spec,jboss-jaxb-api_2.3_spec,jboss-jaxrs-api_2.1_spec,jboss-logging,reactive-streams,resteasy-client,resteasy-jaxrs</hpi.bundledArtifacts>
5354
<hpi.compatibleSinceVersion>1.4.0</hpi.compatibleSinceVersion>
55+
<hpi.strictBundledArtifacts>true</hpi.strictBundledArtifacts>
5456
<mockserver.version>5.15.0</mockserver.version>
5557
<spotless.check.skip>false</spotless.check.skip>
5658
</properties>

0 commit comments

Comments
 (0)