Skip to content

Commit 053404c

Browse files
authored
Declare dependencies explicitly (#141)
Do not allow additions to the bundled dependencies without a change to the list of bundledArtifacts. Avoid the mistakes when a new transitive dependency might be inadvertently added to the plugin and bundled into the hpi / jpi file. Thanks to pull request: * jenkinsci/maven-hpi-plugin#771
1 parent 252dd69 commit 053404c

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
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.jenkins-ci.plugins</groupId>
77
<artifactId>plugin</artifactId>
8-
<version>5.19</version>
8+
<version>5.22</version>
99
<relativePath />
1010
</parent>
1111

@@ -33,6 +33,8 @@
3333
<properties>
3434
<revision>3.5.3</revision>
3535
<changelist>999999-SNAPSHOT</changelist>
36+
<hpi.bundledArtifacts>docker-java,docker-java-api,docker-java-core,docker-java-transport,docker-java-transport-httpclient5</hpi.bundledArtifacts>
37+
<hpi.strictBundledArtifacts>true</hpi.strictBundledArtifacts>
3638
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
3739
<jenkins.baseline>2.479</jenkins.baseline>
3840
<jenkins.version>${jenkins.baseline}.3</jenkins.version>

0 commit comments

Comments
 (0)