Skip to content

Commit 9f17efb

Browse files
MarkEWaitea-st
authored andcommitted
Explicitly declare dependencies
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 d486c5e commit 9f17efb

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
@@ -59,6 +59,8 @@
5959
<jenkins.baseline>2.516</jenkins.baseline>
6060
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
6161
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
62+
<hpi.bundledArtifacts>commons-csv,hsqldb,jackcess,plexus-utils,ucanaccess</hpi.bundledArtifacts>
63+
<hpi.strictBundledArtifacts>true</hpi.strictBundledArtifacts>
6264
<concurrency>2</concurrency>
6365
<!-- disable SpotBugs temporarily since there are 62 bugs -->
6466
<spotbugs.failOnError>false</spotbugs.failOnError>

0 commit comments

Comments
 (0)