From f4c5d3a183ccb8665175cf5d0e2d9a3dab3257d2 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Mon, 27 Dec 2021 20:30:19 -0800 Subject: [PATCH] Adopt POM Code Convention (#312) --- core/pom.xml | 35 +++++---- groovy/pom.xml | 5 +- jelly/pom.xml | 18 ++--- jrebel/pom.xml | 4 +- jsp/pom.xml | 5 +- pom.xml | 192 ++++++++++++++++++++++++------------------------- 6 files changed, 128 insertions(+), 131 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index 95bffcc0cc..e4a7819ee1 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -6,25 +6,10 @@ stapler-parent ${changelist} - + stapler Stapler Stapler HTTP request handling engine - - - - - maven-jar-plugin - - - - test-jar - - - - - - javax.annotation @@ -99,7 +84,7 @@ commons-fileupload commons-fileupload 1.4 - + com.sun.xml.txw2 @@ -181,5 +166,19 @@ test - + + + + maven-jar-plugin + + + + test-jar + + + + + + + diff --git a/groovy/pom.xml b/groovy/pom.xml index e4db4255c7..ee38b751ec 100644 --- a/groovy/pom.xml +++ b/groovy/pom.xml @@ -6,11 +6,11 @@ stapler-parent ${changelist} - + stapler-groovy Stapler Groovy module Groovy binding for Stapler - + ${project.groupId} @@ -53,4 +53,3 @@ - diff --git a/jelly/pom.xml b/jelly/pom.xml index 01f7d04c40..d0fdf0702a 100644 --- a/jelly/pom.xml +++ b/jelly/pom.xml @@ -42,7 +42,8 @@ dom4j 2.1.3 - + + org.jvnet.maven-jellydoc-plugin jellydoc-annotations 1.5 @@ -151,13 +152,6 @@ org.jvnet.maven-jellydoc-plugin maven-jellydoc-plugin - - - - jellydoc - - - com.github.olivergondza @@ -165,6 +159,13 @@ 0.1 + + + + jellydoc + + + @@ -181,4 +182,3 @@ - diff --git a/jrebel/pom.xml b/jrebel/pom.xml index 6391062454..a8ec5b2e71 100644 --- a/jrebel/pom.xml +++ b/jrebel/pom.xml @@ -6,11 +6,11 @@ stapler-parent ${changelist} - + stapler-jrebel Stapler JRebel module JRebel reloading support for Stapler - + ${project.groupId} diff --git a/jsp/pom.xml b/jsp/pom.xml index eaaa313845..16adfcbbf3 100644 --- a/jsp/pom.xml +++ b/jsp/pom.xml @@ -6,11 +6,11 @@ stapler-parent ${changelist} - + stapler-jsp Stapler JSP module JSP binding for Stapler - + ${project.groupId} @@ -36,4 +36,3 @@ - diff --git a/pom.xml b/pom.xml index c6f0fe5bfb..4d2a22834a 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - + org.jenkins-ci jenkins @@ -10,37 +10,120 @@ org.kohsuke.stapler stapler-parent - pom ${changelist} + pom Stapler Stapler HTTP request handling engine - - - core - jsp - jelly - groovy - jrebel - https://github.com/jenkinsci/stapler 2-clause BSD license - repo https://opensource.org/licenses/BSD-2-Clause + repo - + + + core + jsp + jelly + groovy + jrebel + + scm:git:https://github.com/jenkinsci/stapler.git scm:git:ssh://git@github.com/jenkinsci/stapler.git - https://github.com/jenkinsci/stapler ${scmTag} + https://github.com/jenkinsci/stapler + + 999999-SNAPSHOT + HEAD + ${project.basedir}/../src/spotbugs/spotbugs-excludes.xml + 9.4.44.v20210927 + + + + + + commons-logging + commons-logging + 1.2 + + + org.kohsuke.metainf-services + metainf-services + 1.8 + + + + + org.eclipse.jetty + jetty-server + ${jetty.version} + + + org.eclipse.jetty + jetty-util + ${jetty.version} + + + org.eclipse.jetty + jetty-servlet + ${jetty.version} + + + org.eclipse.jetty + jetty-webapp + ${jetty.version} + + + org.mockito + mockito-core + 4.2.0 + + + org.jenkins-ci.main + jenkins-test-harness-htmlunit + 66.v712ea44bccba + + + org.jvnet.hudson + commons-jelly-tags-define + 1.0.1-hudson-20071021 + + + org.hamcrest + hamcrest + 2.2 + + + commons-collections + commons-collections + 3.2.2 + + + + + + + com.github.spotbugs + spotbugs-annotations + true + + + com.google.code.findbugs + jsr305 + + + + + repo.jenkins-ci.org @@ -55,13 +138,6 @@ - - 999999-SNAPSHOT - HEAD - ${project.basedir}/../src/spotbugs/spotbugs-excludes.xml - 9.4.44.v20210927 - - @@ -78,80 +154,4 @@ - - - - - commons-logging - commons-logging - 1.2 - - - org.kohsuke.metainf-services - metainf-services - 1.8 - - - - - org.eclipse.jetty - jetty-server - ${jetty.version} - - - org.eclipse.jetty - jetty-util - ${jetty.version} - - - org.eclipse.jetty - jetty-servlet - ${jetty.version} - - - org.eclipse.jetty - jetty-webapp - ${jetty.version} - - - org.mockito - mockito-core - 4.2.0 - - - org.jenkins-ci.main - jenkins-test-harness-htmlunit - 66.v712ea44bccba - - - org.jvnet.hudson - commons-jelly-tags-define - 1.0.1-hudson-20071021 - - - org.hamcrest - hamcrest - 2.2 - - - commons-collections - commons-collections - 3.2.2 - - - - - - - com.github.spotbugs - spotbugs-annotations - true - - - com.google.code.findbugs - jsr305 - - - -