From c7b00664ce0efec66775283a2d921d928885dd92 Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Wed, 29 Jul 2020 10:46:31 -0400 Subject: [PATCH 1/5] Checking compatibility with https://github.com/jenkinsci/jenkins/pull/4848 --- Jenkinsfile | 2 +- pom.xml | 27 +++++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index dbbe4cd8..a229fa51 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1 +1 @@ -buildPlugin(jenkinsVersions: [null, '2.73.1']) +buildPlugin() diff --git a/pom.xml b/pom.xml index 67771337..9a47cf1a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.jenkins-ci.plugins plugin - 3.53 + 4.4 @@ -25,7 +25,7 @@ 2.0.0.AM25 - 2.60.3 + 2.251-SNAPSHOT 8 1.36 @@ -50,6 +50,29 @@ + + org.acegisecurity + acegi-security + 1.0.7 + + + org.springframework + spring-core + + + org.springframework + spring-jdbc + + + org.springframework + spring-remoting + + + org.springframework + spring-support + + + org.jenkins-ci.plugins mailer From 8f17db97f4b1b882e0ad5564818627f3371a0462 Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Wed, 29 Jul 2020 11:10:22 -0400 Subject: [PATCH 2/5] Build against a release version, and bundle only necessary JARs --- pom.xml | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 9a47cf1a..f19e9c85 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ 2.0.0.AM25 - 2.251-SNAPSHOT + 2.235.3 8 1.36 @@ -50,11 +50,23 @@ - + org.acegisecurity acegi-security 1.0.7 + + commons-codec + commons-codec + + + commons-collections + commons-collections + + + commons-lang + commons-lang + org.springframework spring-core @@ -73,6 +85,25 @@ + + org.springframework + spring-dao + 1.2.9 + + + org.springframework + spring-beans + + + org.springframework + spring-context + + + org.springframework + spring-core + + + org.jenkins-ci.plugins mailer From 9e5d1eec9f0f627de3d8c558038e1017349fa5cc Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Wed, 5 Aug 2020 11:23:14 -0400 Subject: [PATCH 3/5] Incrementalified --- .mvn/extensions.xml | 7 +++++++ .mvn/maven.config | 2 ++ pom.xml | 6 ++++-- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .mvn/extensions.xml create mode 100644 .mvn/maven.config diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml new file mode 100644 index 00000000..5f510417 --- /dev/null +++ b/.mvn/extensions.xml @@ -0,0 +1,7 @@ + + + io.jenkins.tools.incrementals + git-changelist-maven-extension + 1.1 + + diff --git a/.mvn/maven.config b/.mvn/maven.config new file mode 100644 index 00000000..2a0299c4 --- /dev/null +++ b/.mvn/maven.config @@ -0,0 +1,2 @@ +-Pconsume-incrementals +-Pmight-produce-incrementals diff --git a/pom.xml b/pom.xml index f19e9c85..80054500 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ ldap - 1.25-SNAPSHOT + ${revision}${changelist} hpi LDAP Plugin @@ -24,6 +24,8 @@ + 1.25 + -SNAPSHOT 2.0.0.AM25 2.235.3 8 @@ -33,7 +35,7 @@ scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git - HEAD + ${scmTag} From f083903ad945065e5a2fc115a31a98661a25f0d6 Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Wed, 5 Aug 2020 15:55:26 -0400 Subject: [PATCH 4/5] Missing /project/scm/url --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 80054500..c43c70de 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,7 @@ scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git + https://github.com/jenkinsci/${project.artifactId}-plugin ${scmTag} From 65d0a2c3d56c3a2255d2389a9be63a713aa68d98 Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Mon, 31 Aug 2020 14:06:20 -0400 Subject: [PATCH 5/5] Trying to make it possible to run this in PCT --- .mvn/extensions.xml | 2 +- pom.xml | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index 5f510417..43d62816 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -2,6 +2,6 @@ io.jenkins.tools.incrementals git-changelist-maven-extension - 1.1 + 1.2 diff --git a/pom.xml b/pom.xml index c43c70de..e43b2e45 100644 --- a/pom.xml +++ b/pom.xml @@ -26,6 +26,7 @@ 1.25 -SNAPSHOT + jenkinsci/${project.artifactId}-plugin 2.0.0.AM25 2.235.3 8 @@ -33,9 +34,9 @@ - scm:git:git://github.com/jenkinsci/${project.artifactId}-plugin.git - scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git - https://github.com/jenkinsci/${project.artifactId}-plugin + scm:git:git://github.com/${gitHubRepo}.git + scm:git:git@github.com:${gitHubRepo}.git + https://github.com/${gitHubRepo} ${scmTag} @@ -53,6 +54,11 @@ + + org.jenkins-ci.main + jenkins-core + ${jenkins.version} + org.acegisecurity acegi-security