Skip to content

Commit 7f4dbac

Browse files
authored
Explicitly declare dependencies (#1192)
Reduce the risk that new dependencies will be injected accidentally from a dependency update. The developer documentation provides more details at https://www.jenkins.io/doc/developer/plugin-development/dependencies-and-class-loading/#build-time-validation-of-bundled-artifacts Originally added to Maven hpi plugin in pull request: * jenkinsci/maven-hpi-plugin#771 Testing done * Confirmed that automated tests pass
1 parent abb6d83 commit 7f4dbac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
3838
<useBeta>true</useBeta>
3939
<gitHubRepo>jenkinsci/docker-plugin</gitHubRepo>
40+
<hpi.bundledArtifacts>junixsocket-common,junixsocket-native-common</hpi.bundledArtifacts>
41+
<hpi.strictBundledArtifacts>true</hpi.strictBundledArtifacts>
4042
<!-- Our unit-tests that talk to a real docker deamon aren't very stable -->
4143
<!-- <surefire.rerunFailingTestsCount>3</surefire.rerunFailingTestsCount> -->
4244
<spotbugs.effort>Max</spotbugs.effort>

0 commit comments

Comments
 (0)