From acad2e3b7f5871875eba8ebc76b115f03376e94c Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Tue, 5 Sep 2023 20:11:42 -0600 Subject: [PATCH] Don't declare sample plugin transitive dependencies (#2470) Removes declarations of: * cloudbees-folder * favorite * pipeline-groovy-lib * pipeline-model-definition * variant * workflow-basic-steps * workflow-durable-task-step * workflow-multibranch Attempting to follow the guidance from the README that says: > Avoid adding transitive dependencies to sample-plugin/pom.xml. It > is supposed to look as much as possible like a real plugin, and a real > plugin should only declare its direct dependencies and not its transitive > dependencies. --- sample-plugin/pom.xml | 40 ---------------------------------------- 1 file changed, 40 deletions(-) diff --git a/sample-plugin/pom.xml b/sample-plugin/pom.xml index 5401dfde9..7a2d1be4c 100644 --- a/sample-plugin/pom.xml +++ b/sample-plugin/pom.xml @@ -272,11 +272,6 @@ tests test - - io.jenkins.plugins - pipeline-groovy-lib - test - io.jenkins.plugins plugin-util-api @@ -373,11 +368,6 @@ cloudbees-bitbucket-branch-source test - - org.jenkins-ci.plugins - cloudbees-folder - test - org.jenkins-ci.plugins cloudbees-folder @@ -699,11 +689,6 @@ unique-id test - - org.jenkins-ci.plugins - variant - test - org.jenkins-ci.plugins view-job-filters @@ -800,33 +785,18 @@ tests test - - org.jenkins-ci.plugins.workflow - workflow-basic-steps - test - org.jenkins-ci.plugins.workflow workflow-cps tests test - - org.jenkins-ci.plugins.workflow - workflow-durable-task-step - test - org.jenkins-ci.plugins.workflow workflow-job tests test - - org.jenkins-ci.plugins.workflow - workflow-multibranch - test - org.jenkins-ci.plugins.workflow workflow-multibranch @@ -845,22 +815,12 @@ tests test - - org.jenkinsci.plugins - pipeline-model-definition - test - org.jenkinsci.plugins pipeline-model-definition tests test - - org.jvnet.hudson.plugins - favorite - test -