You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2022/10/03 18:24:37 UTC
[logging-log4j2] branch master updated (651be153d5 -> 4a1751e756)
This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
from 651be153d5 Rename `log4j-slf4j20-impl` to `log4j-slf4j2-impl`
new 7015c1b66f Reparent Spring Cloud samples
new 4a1751e756 Centralize plugin versions in main POM
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
log4j-1.2-api/pom.xml | 4 -
log4j-api-test/pom.xml | 5 -
log4j-api/pom.xml | 4 -
log4j-appserver/pom.xml | 4 -
log4j-bom/pom.xml | 9 +-
log4j-cassandra/pom.xml | 4 -
log4j-core-test/pom.xml | 5 -
log4j-core/pom.xml | 5 -
log4j-couchdb/pom.xml | 4 -
log4j-docker/pom.xml | 5 -
log4j-flume-ng/pom.xml | 4 -
log4j-iostreams/pom.xml | 4 -
log4j-jakarta-web/pom.xml | 4 -
log4j-jcl/pom.xml | 4 -
log4j-jdbc-dbcp2/pom.xml | 4 -
log4j-jmx-gui/pom.xml | 4 -
log4j-jpa/pom.xml | 4 -
log4j-jpl/pom.xml | 6 -
log4j-jul/pom.xml | 4 -
log4j-kubernetes/pom.xml | 5 -
log4j-layout-template-json-test/pom.xml | 5 -
log4j-layout-template-json/pom.xml | 4 -
log4j-liquibase/pom.xml | 6 +-
log4j-mongodb3/pom.xml | 4 -
log4j-mongodb4/pom.xml | 4 -
log4j-osgi/pom.xml | 4 -
log4j-perf/pom.xml | 2 +-
log4j-samples/log4j-samples-flume-embedded/pom.xml | 1 -
log4j-samples/log4j-samples-flume-remote/pom.xml | 1 -
log4j-samples/pom.xml | 10 ++
log4j-slf4j-impl/pom.xml | 4 -
log4j-slf4j2-impl/pom.xml | 4 -
log4j-smtp/pom.xml | 4 -
log4j-spring-boot/pom.xml | 4 -
.../log4j-spring-cloud-config-client/pom.xml | 4 -
.../pom.xml | 27 ++-
.../pom.xml | 62 ++-----
.../src/main/resources/log4j2.xml | 6 +-
.../log4j-spring-cloud-config-samples/pom.xml | 40 ++---
log4j-spring-cloud-config/pom.xml | 14 +-
log4j-taglib/pom.xml | 5 -
log4j-to-jul/pom.xml | 4 -
log4j-to-slf4j/pom.xml | 4 -
log4j-web/pom.xml | 4 -
pom.xml | 185 ++++++++++++---------
src/tools/explicit-version.xslt | 87 ++++++++++
46 files changed, 263 insertions(+), 328 deletions(-)
create mode 100644 src/tools/explicit-version.xslt
[logging-log4j2] 02/02: Centralize plugin versions in main POM
Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 4a1751e756432a564057d0dfa04fbfdd4e5a35a0
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Sun Oct 2 08:32:58 2022 +0200
Centralize plugin versions in main POM
The versions of all used plugins are specified in the `log4j` parent POM
or other parent POMs (`log4j-bom`, `log4j-samples`,
`log4j-spring-cloud-config` or `log4j-spring-cloud-config-samples`).
The script `src/tools/explicit-version.xslt` can be used to check for
explicitly provided version.
---
log4j-1.2-api/pom.xml | 4 -
log4j-api-test/pom.xml | 5 -
log4j-api/pom.xml | 4 -
log4j-appserver/pom.xml | 4 -
log4j-bom/pom.xml | 9 +-
log4j-cassandra/pom.xml | 4 -
log4j-core-test/pom.xml | 5 -
log4j-core/pom.xml | 5 -
log4j-couchdb/pom.xml | 4 -
log4j-docker/pom.xml | 5 -
log4j-flume-ng/pom.xml | 4 -
log4j-iostreams/pom.xml | 4 -
log4j-jakarta-web/pom.xml | 4 -
log4j-jcl/pom.xml | 4 -
log4j-jdbc-dbcp2/pom.xml | 4 -
log4j-jmx-gui/pom.xml | 4 -
log4j-jpa/pom.xml | 4 -
log4j-jpl/pom.xml | 6 -
log4j-jul/pom.xml | 4 -
log4j-kubernetes/pom.xml | 5 -
log4j-layout-template-json-test/pom.xml | 5 -
log4j-layout-template-json/pom.xml | 4 -
log4j-liquibase/pom.xml | 6 +-
log4j-mongodb3/pom.xml | 4 -
log4j-mongodb4/pom.xml | 4 -
log4j-osgi/pom.xml | 4 -
log4j-perf/pom.xml | 2 +-
log4j-samples/log4j-samples-flume-embedded/pom.xml | 1 -
log4j-samples/log4j-samples-flume-remote/pom.xml | 1 -
log4j-samples/pom.xml | 10 ++
log4j-slf4j-impl/pom.xml | 4 -
log4j-slf4j2-impl/pom.xml | 4 -
log4j-smtp/pom.xml | 4 -
log4j-spring-boot/pom.xml | 4 -
.../log4j-spring-cloud-config-client/pom.xml | 4 -
.../pom.xml | 8 -
.../pom.xml | 2 -
log4j-taglib/pom.xml | 5 -
log4j-to-jul/pom.xml | 4 -
log4j-to-slf4j/pom.xml | 4 -
log4j-web/pom.xml | 4 -
pom.xml | 185 ++++++++++++---------
42 files changed, 119 insertions(+), 246 deletions(-)
diff --git a/log4j-1.2-api/pom.xml b/log4j-1.2-api/pom.xml
index 377cefca82..253b7270a3 100644
--- a/log4j-1.2-api/pom.xml
+++ b/log4j-1.2-api/pom.xml
@@ -165,7 +165,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -181,7 +180,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -216,7 +214,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -235,7 +232,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-api-test/pom.xml b/log4j-api-test/pom.xml
index 64015b7444..079a13020f 100644
--- a/log4j-api-test/pom.xml
+++ b/log4j-api-test/pom.xml
@@ -199,7 +199,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -216,7 +215,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -229,7 +227,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc.plugin.version}</version>
<configuration>
<bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
@@ -256,7 +253,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -275,7 +271,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-api/pom.xml b/log4j-api/pom.xml
index 15480b70a3..05859be43b 100644
--- a/log4j-api/pom.xml
+++ b/log4j-api/pom.xml
@@ -133,7 +133,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -150,7 +149,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -190,7 +188,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -209,7 +206,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-appserver/pom.xml b/log4j-appserver/pom.xml
index 25f1bf644d..3271322f35 100644
--- a/log4j-appserver/pom.xml
+++ b/log4j-appserver/pom.xml
@@ -81,7 +81,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -97,7 +96,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -136,7 +134,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -155,7 +152,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-bom/pom.xml b/log4j-bom/pom.xml
index a39f7bfdd2..f9f13b4983 100644
--- a/log4j-bom/pom.xml
+++ b/log4j-bom/pom.xml
@@ -36,6 +36,7 @@
<maven.doap.skip>true</maven.doap.skip>
<maven.site.skip>true</maven.site.skip>
<maven.site.deploy.skip>true</maven.site.deploy.skip>
+ <maven-doap-plugin.version>1.2</maven-doap-plugin.version>
</properties>
<dependencyManagement>
@@ -308,14 +309,6 @@
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
</plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <version>4.0.4</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
diff --git a/log4j-cassandra/pom.xml b/log4j-cassandra/pom.xml
index 1dd4e80d33..32da2efbe6 100644
--- a/log4j-cassandra/pom.xml
+++ b/log4j-cassandra/pom.xml
@@ -139,7 +139,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -155,7 +154,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -190,7 +188,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -209,7 +206,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-core-test/pom.xml b/log4j-core-test/pom.xml
index db1faf8763..1595d7f9e1 100644
--- a/log4j-core-test/pom.xml
+++ b/log4j-core-test/pom.xml
@@ -391,7 +391,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -408,7 +407,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -421,7 +419,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc.plugin.version}</version>
<configuration>
<failOnError>false</failOnError>
<source>8</source>
@@ -451,7 +448,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -470,7 +466,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-core/pom.xml b/log4j-core/pom.xml
index 220741f632..03c6229e59 100644
--- a/log4j-core/pom.xml
+++ b/log4j-core/pom.xml
@@ -184,7 +184,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>3.2.0</version>
<executions>
<execution>
<id>default-resources</id>
@@ -202,7 +201,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -219,7 +217,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -283,7 +280,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -302,7 +298,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-couchdb/pom.xml b/log4j-couchdb/pom.xml
index 5eecd6f9d6..241379a79b 100644
--- a/log4j-couchdb/pom.xml
+++ b/log4j-couchdb/pom.xml
@@ -96,7 +96,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -112,7 +111,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -147,7 +145,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -166,7 +163,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-docker/pom.xml b/log4j-docker/pom.xml
index 82276ca356..cd7242304e 100644
--- a/log4j-docker/pom.xml
+++ b/log4j-docker/pom.xml
@@ -98,7 +98,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -114,7 +113,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -149,7 +147,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -168,7 +165,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
@@ -176,7 +172,6 @@
<plugin>
<groupId>net.sourceforge.maven-taglib</groupId>
<artifactId>maven-taglib-plugin</artifactId>
- <version>2.4</version>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
diff --git a/log4j-flume-ng/pom.xml b/log4j-flume-ng/pom.xml
index 9f19e8068c..481e6254ed 100644
--- a/log4j-flume-ng/pom.xml
+++ b/log4j-flume-ng/pom.xml
@@ -168,7 +168,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -185,7 +184,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -220,7 +218,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -239,7 +236,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-iostreams/pom.xml b/log4j-iostreams/pom.xml
index edc16a096e..a5fd8fd8f5 100644
--- a/log4j-iostreams/pom.xml
+++ b/log4j-iostreams/pom.xml
@@ -116,7 +116,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -132,7 +131,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -167,7 +165,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -186,7 +183,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-jakarta-web/pom.xml b/log4j-jakarta-web/pom.xml
index 1399de04a7..b69a0be653 100644
--- a/log4j-jakarta-web/pom.xml
+++ b/log4j-jakarta-web/pom.xml
@@ -108,7 +108,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -124,7 +123,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -161,7 +159,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -180,7 +177,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-jcl/pom.xml b/log4j-jcl/pom.xml
index d304833da6..f9b1269ab9 100644
--- a/log4j-jcl/pom.xml
+++ b/log4j-jcl/pom.xml
@@ -103,7 +103,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -120,7 +119,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -155,7 +153,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -174,7 +171,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-jdbc-dbcp2/pom.xml b/log4j-jdbc-dbcp2/pom.xml
index 9ec640eedd..37dca21677 100644
--- a/log4j-jdbc-dbcp2/pom.xml
+++ b/log4j-jdbc-dbcp2/pom.xml
@@ -100,7 +100,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -117,7 +116,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -151,7 +149,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -170,7 +167,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-jmx-gui/pom.xml b/log4j-jmx-gui/pom.xml
index ec7c61852f..9dacf1278e 100644
--- a/log4j-jmx-gui/pom.xml
+++ b/log4j-jmx-gui/pom.xml
@@ -89,7 +89,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -106,7 +105,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -141,7 +139,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -160,7 +157,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-jpa/pom.xml b/log4j-jpa/pom.xml
index cdf683e434..d109841e50 100644
--- a/log4j-jpa/pom.xml
+++ b/log4j-jpa/pom.xml
@@ -114,7 +114,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -130,7 +129,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -164,7 +162,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -183,7 +180,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-jpl/pom.xml b/log4j-jpl/pom.xml
index f00f2a9e15..6ed58e6741 100644
--- a/log4j-jpl/pom.xml
+++ b/log4j-jpl/pom.xml
@@ -133,8 +133,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <!-- Do not upgrade until https://issues.apache.org/jira/browse/SUREFIRE-720 is fixed -->
- <version>2.13</version>
<configuration>
<excludes combine.self="override"/>
</configuration>
@@ -155,7 +153,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -171,7 +168,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
<suppressionsLocation>${log4jParentDir}/checkstyle-suppressions.xml</suppressionsLocation>
@@ -206,7 +202,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -255,7 +250,6 @@
<!-- pmd is not compatible with toolchain and needs same JDK than one use to compile -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-jul/pom.xml b/log4j-jul/pom.xml
index 7e05331c0b..18ba588c76 100644
--- a/log4j-jul/pom.xml
+++ b/log4j-jul/pom.xml
@@ -245,7 +245,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -262,7 +261,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -297,7 +295,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -316,7 +313,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-kubernetes/pom.xml b/log4j-kubernetes/pom.xml
index 843d24950f..d2ad82df48 100644
--- a/log4j-kubernetes/pom.xml
+++ b/log4j-kubernetes/pom.xml
@@ -98,7 +98,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -114,7 +113,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -149,7 +147,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -168,7 +165,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
@@ -176,7 +172,6 @@
<plugin>
<groupId>net.sourceforge.maven-taglib</groupId>
<artifactId>maven-taglib-plugin</artifactId>
- <version>2.4</version>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
diff --git a/log4j-layout-template-json-test/pom.xml b/log4j-layout-template-json-test/pom.xml
index da739c22b9..daac950275 100644
--- a/log4j-layout-template-json-test/pom.xml
+++ b/log4j-layout-template-json-test/pom.xml
@@ -429,7 +429,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -445,7 +444,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
<suppressionsLocation>${log4jParentDir}/checkstyle-suppressions.xml</suppressionsLocation>
@@ -457,7 +455,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc.plugin.version}</version>
<configuration>
<bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
@@ -478,7 +475,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -497,7 +493,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-layout-template-json/pom.xml b/log4j-layout-template-json/pom.xml
index 9204998447..3090674976 100644
--- a/log4j-layout-template-json/pom.xml
+++ b/log4j-layout-template-json/pom.xml
@@ -186,7 +186,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -202,7 +201,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
<suppressionsLocation>${log4jParentDir}/checkstyle-suppressions.xml</suppressionsLocation>
@@ -234,7 +232,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -253,7 +250,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-liquibase/pom.xml b/log4j-liquibase/pom.xml
index dfad34f937..e6d1c884ed 100644
--- a/log4j-liquibase/pom.xml
+++ b/log4j-liquibase/pom.xml
@@ -31,6 +31,7 @@
<docLabel>Liquibase Documentation</docLabel>
<projectDir>/liquibase</projectDir>
<maven.doap.skip>true</maven.doap.skip>
+ <module.name>org.apache.logging.log4j.liquibase</module.name>
</properties>
<dependencies>
<dependency>
@@ -93,7 +94,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>3.0.2</version>
<configuration>
<archive>
<manifestFile>${manifestfile}</manifestFile>
@@ -176,7 +176,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -192,7 +191,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -227,7 +225,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -246,7 +243,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-mongodb3/pom.xml b/log4j-mongodb3/pom.xml
index 211b78b3c1..dd6bcec106 100644
--- a/log4j-mongodb3/pom.xml
+++ b/log4j-mongodb3/pom.xml
@@ -115,7 +115,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -132,7 +131,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -167,7 +165,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -186,7 +183,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-mongodb4/pom.xml b/log4j-mongodb4/pom.xml
index 9cefc7c19b..940f546143 100644
--- a/log4j-mongodb4/pom.xml
+++ b/log4j-mongodb4/pom.xml
@@ -115,7 +115,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -132,7 +131,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -167,7 +165,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -186,7 +183,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-osgi/pom.xml b/log4j-osgi/pom.xml
index 8a8ca07b87..5d4e8c022f 100644
--- a/log4j-osgi/pom.xml
+++ b/log4j-osgi/pom.xml
@@ -151,7 +151,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -168,7 +167,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -206,7 +204,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -225,7 +222,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-perf/pom.xml b/log4j-perf/pom.xml
index 05124b6519..02747622cd 100644
--- a/log4j-perf/pom.xml
+++ b/log4j-perf/pom.xml
@@ -201,7 +201,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
- <version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
@@ -209,6 +208,7 @@
<goal>shade</goal>
</goals>
<configuration>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>false</minimizeJar>
<finalName>${uberjar.name}</finalName>
<transformers>
diff --git a/log4j-samples/log4j-samples-flume-embedded/pom.xml b/log4j-samples/log4j-samples-flume-embedded/pom.xml
index 6f1c47446c..a8fa9c2d02 100644
--- a/log4j-samples/log4j-samples-flume-embedded/pom.xml
+++ b/log4j-samples/log4j-samples-flume-embedded/pom.xml
@@ -110,7 +110,6 @@
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.26</version>
<configuration>
<contextPath>flumeAgent</contextPath>
<webXml>${project.build.directory}/web.xml</webXml>
diff --git a/log4j-samples/log4j-samples-flume-remote/pom.xml b/log4j-samples/log4j-samples-flume-remote/pom.xml
index 446372246a..c0fd9761c6 100644
--- a/log4j-samples/log4j-samples-flume-remote/pom.xml
+++ b/log4j-samples/log4j-samples-flume-remote/pom.xml
@@ -91,7 +91,6 @@
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.26</version>
<configuration>
<contextPath>flumeAgent</contextPath>
<webXml>${project.build.directory}/web.xml</webXml>
diff --git a/log4j-samples/pom.xml b/log4j-samples/pom.xml
index 01f578bc7f..eb043c16ed 100644
--- a/log4j-samples/pom.xml
+++ b/log4j-samples/pom.xml
@@ -35,6 +35,7 @@
<maven.install.skip>true</maven.install.skip>
<maven.site.skip>true</maven.site.skip>
<maven.site.deploy.skip>true</maven.site.deploy.skip>
+ <maven-jetty-plugin.version>6.1.26</maven-jetty-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
@@ -90,6 +91,15 @@
<module>log4j-samples-loggerProperties</module>
</modules>
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <version>${maven-jetty-plugin.version}</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
diff --git a/log4j-slf4j-impl/pom.xml b/log4j-slf4j-impl/pom.xml
index e8f59792de..367992f200 100644
--- a/log4j-slf4j-impl/pom.xml
+++ b/log4j-slf4j-impl/pom.xml
@@ -220,7 +220,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -237,7 +236,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -272,7 +270,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -291,7 +288,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-slf4j2-impl/pom.xml b/log4j-slf4j2-impl/pom.xml
index 50c964986f..3aadc3c509 100644
--- a/log4j-slf4j2-impl/pom.xml
+++ b/log4j-slf4j2-impl/pom.xml
@@ -181,7 +181,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -197,7 +196,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -231,7 +229,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -250,7 +247,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-smtp/pom.xml b/log4j-smtp/pom.xml
index 880e841ea9..c8d28bebab 100644
--- a/log4j-smtp/pom.xml
+++ b/log4j-smtp/pom.xml
@@ -105,7 +105,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -121,7 +120,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -155,7 +153,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -174,7 +171,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-spring-boot/pom.xml b/log4j-spring-boot/pom.xml
index 7f0b9ecc89..fe018790dc 100644
--- a/log4j-spring-boot/pom.xml
+++ b/log4j-spring-boot/pom.xml
@@ -158,7 +158,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -175,7 +174,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -209,7 +207,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -228,7 +225,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
index b96426a4e3..d124eee1f3 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-client/pom.xml
@@ -157,7 +157,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -174,7 +173,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -209,7 +207,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -228,7 +225,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml
index 84a76b7fd3..e64e89ba31 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml
@@ -221,14 +221,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
- <version>${spring-boot.version}</version>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
</plugin>
</plugins>
</build>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
index 31e8bee7c7..a833a59f6f 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
@@ -128,7 +128,6 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>${maven.jacoco.version}</version>
<configuration>
<excludes>
<exclude>com/oracle/brm/**/*.class</exclude>
@@ -182,7 +181,6 @@
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
- <version>${spotbugs.plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
diff --git a/log4j-taglib/pom.xml b/log4j-taglib/pom.xml
index 8dc15a6b0d..107efb9f4b 100644
--- a/log4j-taglib/pom.xml
+++ b/log4j-taglib/pom.xml
@@ -121,7 +121,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -138,7 +137,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -173,7 +171,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -192,7 +189,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
@@ -200,7 +196,6 @@
<plugin>
<groupId>net.sourceforge.maven-taglib</groupId>
<artifactId>maven-taglib-plugin</artifactId>
- <version>2.4</version>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
diff --git a/log4j-to-jul/pom.xml b/log4j-to-jul/pom.xml
index 388a64ed35..5fae572e72 100644
--- a/log4j-to-jul/pom.xml
+++ b/log4j-to-jul/pom.xml
@@ -93,7 +93,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -109,7 +108,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -143,7 +141,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -162,7 +159,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-to-slf4j/pom.xml b/log4j-to-slf4j/pom.xml
index 91d68f6195..fa3ea9197a 100644
--- a/log4j-to-slf4j/pom.xml
+++ b/log4j-to-slf4j/pom.xml
@@ -107,7 +107,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -123,7 +122,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -158,7 +156,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -177,7 +174,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/log4j-web/pom.xml b/log4j-web/pom.xml
index 0b70be78c3..711cb776c1 100644
--- a/log4j-web/pom.xml
+++ b/log4j-web/pom.xml
@@ -109,7 +109,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -126,7 +125,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
<configuration>
<!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> -->
<configLocation>${log4jParentDir}/checkstyle.xml</configLocation>
@@ -164,7 +162,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
<reportSets>
<reportSet>
<id>non-aggregate</id>
@@ -183,7 +180,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
diff --git a/pom.xml b/pom.xml
index 9b27aa4d84..9e789edd02 100644
--- a/pom.xml
+++ b/pom.xml
@@ -146,7 +146,7 @@
<name>Piotr P. Karwasz</name>
<email>pkarwasz@apache.org</email>
<roles>
- <role>Committer</role>
+ <role>PMC Member</role>
</roles>
<timezone>Europe/Warsaw</timezone>
</developer>
@@ -220,6 +220,61 @@
<Log4jReleaseKey>B3D8E1BA</Log4jReleaseKey>
<!--<Log4jReleaseManager>Matt Sicker</Log4jReleaseManager> -->
<!--<Log4jReleaseKey>748F15B2CF9BA8F024155E6ED7C92B70FA1C814D</Log4jReleaseKey> -->
+ <revapi.skip>true</revapi.skip>
+ <manifestfile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestfile>
+ <maven.compiler.source>11</maven.compiler.source>
+ <maven.compiler.target>11</maven.compiler.target>
+ <maven.compiler.release>11</maven.compiler.release>
+ <maven.compiler.parameters>true</maven.compiler.parameters>
+ <maven.doap.skip>false</maven.doap.skip>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <!-- 1641056400 = Jan 1 2022, instead of 1969, which shows up in Javadoc -->
+ <project.build.outputTimestamp>1641056400</project.build.outputTimestamp>
+ <docLabel>Site Documentation</docLabel>
+ <projectDir/>
+ <!-- Allow Clirr severity to be overriden by the command-line option -DminSeverity=level -->
+ <minSeverity>info</minSeverity>
+ <argLine>-Xms256m -Xmx1024m</argLine>
+ <javaTargetVersion>11</javaTargetVersion>
+ <module.name/>
+
+ <!-- Plugin versions -->
+ <!-- Properties in the format `<artifactId>.version` -->
+ <!-- Spring Boot uses the same convention. -->
+ <asciidoctor-maven-plugin.version>1.5.6</asciidoctor-maven-plugin.version>
+ <build-helper-maven-plugin.version>3.3.0</build-helper-maven-plugin.version>
+ <!-- checkstyle 10.0 requires Java 11 -->
+ <checkstyle.version>8.45.1</checkstyle.version>
+ <checksum-maven-plugin.version>1.11</checksum-maven-plugin.version>
+ <coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
+ <docker-maven-plugin.version>0.40.2</docker-maven-plugin.version>
+ <exam-maven-plugin.version>4.13.5</exam-maven-plugin.version>
+ <findsecbugs-plugin.version>1.12.0</findsecbugs-plugin.version>
+ <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version>
+ <maven-bundle-plugin.version>5.1.8</maven-bundle-plugin.version>
+ <maven-changes-plugin.version>2.12.1</maven-changes-plugin.version>
+ <maven-checkstyle-plugin.version>3.0.0</maven-checkstyle-plugin.version>
+ <maven-dependency-plugin.version>3.3.0</maven-dependency-plugin.version>
+ <maven-doap-plugin.version>1.2</maven-doap-plugin.version>
+ <maven-jxr-plugin.version>2.5</maven-jxr-plugin.version>
+ <!-- Do not update the pdf plugin version without verifying the new version works by running mvn site -->
+ <maven-pdf-plugin.version>1.2</maven-pdf-plugin.version>
+ <maven-pmd-plugin.version>3.13.0</maven-pmd-plugin.version>
+ <maven-scm-plugin.version>1.9.5</maven-scm-plugin.version>
+ <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
+ <maven-taglib-plugin.version>2.4</maven-taglib-plugin.version>
+ <maven-toolchains-plugin.version>3.0.0</maven-toolchains-plugin.version>
+ <revapi-maven-plugin.version>0.12.2</revapi-maven-plugin.version>
+ <spotbugs-maven-plugin.version>4.0.4</spotbugs-maven-plugin.version>
+ <!-- surefire.plugin.version 2.18 yields http://jira.codehaus.org/browse/SUREFIRE-1121, which is fixed in 2.18.1 -->
+ <!-- surefire.plugin.version 2.19 yields https://issues.apache.org/jira/browse/SUREFIRE-1193. -->
+ <!-- all versions after 2.13 yield https://issues.apache.org/jira/browse/SUREFIRE-720 -->
+ <!-- property used in `apache.org:apache` -->
+ <surefire.version>3.0.0-M5</surefire.version>
+ <!-- Maven site depends on Velocity and the escaping rules are different in newer versions. -->
+ <!-- See https://maven.apache.org/plugins/maven-site-plugin/migrate.html -->
+ <velocity.plugin.version>1.5</velocity.plugin.version>
+
<!-- note that any properties you want available in velocity templates must not use periods! -->
<slf4jVersion>1.7.30</slf4jVersion>
<logbackVersion>1.2.3</logbackVersion>
@@ -237,55 +292,21 @@
<!-- POM for jackson-dataformat-xml 2.13.1 depends on woodstox-core 6.2.7 -->
<woodstox.version>6.3.1</woodstox.version>
<groovy.version>4.0.2</groovy.version>
- <pmd.plugin.version>3.13.0</pmd.plugin.version>
- <spotbugs.plugin.version>4.0.4</spotbugs.plugin.version>
<spotbugs.version>4.1.2</spotbugs.version>
- <changes.plugin.version>2.12.1</changes.plugin.version>
- <!-- surefire.plugin.version 2.18 yields http://jira.codehaus.org/browse/SUREFIRE-1121, which is fixed in 2.18.1 -->
- <!-- surefire.plugin.version 2.19 yields https://issues.apache.org/jira/browse/SUREFIRE-1193. -->
- <!-- all versions after 2.13 yield https://issues.apache.org/jira/browse/SUREFIRE-720 -->
- <surefire.version>3.0.0-M5</surefire.version>
- <checkstyle.plugin.version>3.0.0</checkstyle.plugin.version>
- <pdf.plugin.version>1.2</pdf.plugin.version>
- <cobertura.plugin.version>2.7</cobertura.plugin.version>
- <jacoco.plugin.version>0.8.6</jacoco.plugin.version>
- <scm.plugin.version>1.9.5</scm.plugin.version>
- <jxr.plugin.version>2.5</jxr.plugin.version>
- <revapi.plugin.version>0.12.2</revapi.plugin.version>
- <revapi.skip>true</revapi.skip>
- <!-- Maven site depends on Velocity and the escaping rules are different in newer versions. -->
- <!-- See https://maven.apache.org/plugins/maven-site-plugin/migrate.html -->
- <velocity.plugin.version>1.5</velocity.plugin.version>
- <asciidoc.plugin.version>1.5.6</asciidoc.plugin.version>
<errorprone.version>2.7.1</errorprone.version>
<plexus.errorprone.version>2.8.8</plexus.errorprone.version>
- <manifestfile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestfile>
- <maven.compiler.source>11</maven.compiler.source>
- <maven.compiler.target>11</maven.compiler.target>
- <maven.compiler.release>11</maven.compiler.release>
- <maven.compiler.parameters>true</maven.compiler.parameters>
- <maven.doap.skip>false</maven.doap.skip>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <!-- 1641056400 = Jan 1 2022, instead of 1969, which shows up in Javadoc -->
- <project.build.outputTimestamp>1641056400</project.build.outputTimestamp>
- <docLabel>Site Documentation</docLabel>
- <projectDir/>
<commonsLoggingVersion>1.2</commonsLoggingVersion>
<javax.persistence>2.2.1</javax.persistence>
<osgi.api.version>1.10.0</osgi.api.version>
<activemq.version>5.16.2</activemq.version>
- <!-- Allow Clirr severity to be overriden by the command-line option -DminSeverity=level -->
- <minSeverity>info</minSeverity>
<jctoolsVersion>3.3.0</jctoolsVersion>
<junitVersion>4.13.2</junitVersion>
<junitJupiterVersion>5.9.0</junitJupiterVersion>
<junitPioneerVersion>1.5.0</junitPioneerVersion>
<mockitoVersion>4.2.0</mockitoVersion>
<byteBuddyVersion>1.11.0</byteBuddyVersion>
- <argLine>-Xms256m -Xmx1024m</argLine>
- <javaTargetVersion>11</javaTargetVersion>
- <module.name/>
<netty-all.version>4.1.80.Final</netty-all.version>
+ <wagon.version>3.1.0</wagon.version>
<wiremock.version>2.34.0</wiremock.version>
</properties>
@@ -946,20 +967,30 @@
<defaultGoal>clean install</defaultGoal>
<pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>${build-helper-maven-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>net.nicoulaj.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <version>${checksum-maven-plugin.version}</version>
+ </plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
- <version>4.3.0</version>
+ <version>${coveralls-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.33.0</version>
+ <version>${docker-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>${jacoco.plugin.version}</version>
+ <version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>prepare-agent</id>
@@ -976,15 +1007,10 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>3.1.0</version>
- </plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>5.1.2</version>
+ <version>${maven-bundle-plugin.version}</version>
<inherited>true</inherited>
<extensions>true</extensions>
<executions>
@@ -999,12 +1025,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
+ <version>${maven-changes-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>${checkstyle.plugin.version}</version>
+ <version>${maven-checkstyle-plugin.version}</version>
<configuration>
<excludes>**/module-info.java</excludes>
</configuration>
@@ -1055,7 +1081,13 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>${maven-dependency-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-doap-plugin</artifactId>
+ <version>${maven-doap-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -1089,7 +1121,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${javadoc.plugin.version}</version>
<configuration>
<bottom><p align="center">Copyright &#169; {inceptionYear}-{currentYear} {organizationName}. All Rights Reserved.<br />
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo,
@@ -1100,12 +1131,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>${jxr.plugin.version}</version>
+ <version>${maven-jxr-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>${pmd.plugin.version}</version>
+ <artifactId>maven-pdf-plugin</artifactId>
+ <version>${maven-pdf-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.bsc.maven</groupId>
@@ -1114,18 +1145,18 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <version>${release.plugin.version}</version>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>${maven-pmd-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
- <version>${scm.plugin.version}</version>
+ <version>${maven-scm-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
- <version>3.0.1</version>
+ <version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
@@ -1137,10 +1168,25 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>net.sourceforge.maven-taglib</groupId>
+ <artifactId>maven-taglib-plugin</artifactId>
+ <version>${maven-taglib-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-toolchains-plugin</artifactId>
+ <version>${maven-toolchains-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.revapi</groupId>
+ <artifactId>revapi-maven-plugin</artifactId>
+ <version>${revapi-maven-plugin.version}</version>
+ </plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
- <version>${spotbugs.plugin.version}</version>
+ <version>${spotbugs-maven-plugin.version}</version>
<dependencies>
<!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
<dependency>
@@ -1154,7 +1200,7 @@
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
- <version>1.10.1</version>
+ <version>${findsecbugs-plugin.version}</version>
</plugin>
</plugins>
<excludeFilterFile>${log4jParentDir}/spotbugs-exclude-filter.xml</excludeFilterFile>
@@ -1220,7 +1266,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
- <version>1.12</version>
<executions>
<execution>
<id>timestamp-property</id>
@@ -1247,7 +1292,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-doap-plugin</artifactId>
- <version>1.2</version>
<configuration>
<doapOptions>
<programmingLanguage>Java</programmingLanguage>
@@ -1296,7 +1340,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pdf-plugin</artifactId>
- <version>${pdf.plugin.version}</version>
<executions>
<execution>
<id>pdf</id>
@@ -1310,18 +1353,6 @@
</execution>
</executions>
</plugin>
- <!-- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>clean</id>
- <goals>
- <goal>clean</goal>
- </goals>
- </execution>
- </executions>
- </plugin> -->
<!-- We need to disable the standard ASF configuration to be able to publish our own notice and license files -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -1339,8 +1370,8 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>3.2.0</version>
<executions>
<execution>
<id>copy-sitecss</id>
@@ -1371,7 +1402,7 @@
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
- <version>3.1.0</version>
+ <version>${wagon.version}</version>
</dependency>
</dependencies>
<configuration>
@@ -1413,7 +1444,6 @@
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
- <version>${revapi.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.revapi</groupId>
@@ -1517,7 +1547,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<reportSets>
<reportSet>
<reports>
@@ -1667,7 +1696,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pdf-plugin</artifactId>
- <version>${pdf.plugin.version}</version>
<executions>
<execution>
<id>pdf</id>
@@ -1691,7 +1719,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>${changes.plugin.version}</version>
<configuration>
<template>announcement.vm</template>
<templateDirectory>src/changes</templateDirectory>
[logging-log4j2] 01/02: Reparent Spring Cloud samples
Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
commit 7015c1b66f889eb4d77da4ca7cedfd9b0c726f8a
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Sun Oct 2 20:28:11 2022 +0200
Reparent Spring Cloud samples
By changing the `log4j-spring-cloud-config-sample-server` parent from
`spring-boot-starter-parent` to `log4j-spring-cloud-config-samples`, we
can reuse the plugin configuration (and versions) of the ASF parent POM.
---
.../pom.xml | 19 +++--
.../pom.xml | 60 ++++-----------
.../src/main/resources/log4j2.xml | 6 +-
.../log4j-spring-cloud-config-samples/pom.xml | 40 ++++------
log4j-spring-cloud-config/pom.xml | 14 +++-
src/tools/explicit-version.xslt | 87 ++++++++++++++++++++++
6 files changed, 144 insertions(+), 82 deletions(-)
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml
index f2a2f197e8..84a76b7fd3 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-application/pom.xml
@@ -24,37 +24,38 @@
<version>3.0.0-SNAPSHOT</version>
</parent>
- <artifactId>sample-app</artifactId>
+ <artifactId>log4j-spring-cloud-config-sample-application</artifactId>
<packaging>jar</packaging>
<name>Apache Log4j Spring Cloud Config Sample Application</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <!--<manifestfile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestfile>-->
+ <log4jParentDir>${basedir}/../../..</log4jParentDir>
+ <module.name>org.apache.logging.log4j.spring.cloud.config.sample.application</module.name>
</properties>
<dependencies>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ </dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-docker</artifactId>
- <version>${project.version}</version>
</dependency>
<!-- Required for Flume -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-flume-ng</artifactId>
- <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jcl</artifactId>
- <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-kubernetes</artifactId>
- <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
@@ -69,7 +70,6 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-spring-cloud-config-client</artifactId>
- <version>${project.version}</version>
</dependency>
<!-- Required for Async Loggers -->
<dependency>
@@ -156,8 +156,11 @@
</dependencies>
<build>
- <finalName>sampleapp</finalName>
<plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
index c3db42485b..31e8bee7c7 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/pom.xml
@@ -18,29 +18,24 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.logging.log4j.samples</groupId>
+ <artifactId>log4j-spring-cloud-config-samples</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ </parent>
<groupId>org.apache.logging.log4j.samples</groupId>
<artifactId>log4j-spring-cloud-config-sample-server</artifactId>
- <version>3.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Apache Log4j Sample Configuration Service</name>
<description>Sample Cloud Config Server</description>
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.3.6.RELEASE</version>
- <relativePath/> <!-- lookup parent from repository -->
- </parent>
-
<properties>
- <!-- Overrides version from `spring-boot-dependencies` ancestor -->
- <log4j2.version>${project.version}</log4j2.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<log4jParentDir>${basedir}/../../..</log4jParentDir>
<java.version>1.8</java.version>
- <spring-cloud.version>Hoxton.SR9</spring-cloud.version>
+ <module.name>org.apache.logging.log4j.spring.cloud.config.sample.server</module.name>
<maven.deploy.skip>true</maven.deploy.skip>
<maven.site.skip>true</maven.site.skip>
@@ -61,18 +56,6 @@
<pmd.failurePriority>2</pmd.failurePriority>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-dependencies</artifactId>
- <version>${spring-cloud.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
@@ -99,7 +82,6 @@
</exclusion>
</exclusions>
</dependency>
- <!-- log dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
@@ -128,6 +110,11 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
@@ -138,25 +125,6 @@
<build>
<plugins>
- <!-- RAT report -->
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/*.yaml</exclude>
- <exclude>**/readme.txt</exclude>
- </excludes>
- </configuration>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
@@ -185,8 +153,12 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>3.2.0</version>
<executions>
<execution>
<id>copy-resources</id>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/resources/log4j2.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/resources/log4j2.xml
index 3a019585c6..0954996021 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/resources/log4j2.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/log4j-spring-cloud-config-sample-server/src/main/resources/log4j2.xml
@@ -15,15 +15,15 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<Configuration status="ERROR" name="ConfigService">
+<Configuration status="WARN" name="ConfigService">
<Appenders>
<Console name="STDOUT">
<PatternLayout pattern="%d %-5level [%t][%logger]%notEmpty{[%markerSimpleName]} %msg%n%xThrowable" />
</Console>
</Appenders>
<Loggers>
- <Root level="ERROR">
+ <Root level="INFO">
<AppenderRef ref="STDOUT" />
</Root>
</Loggers>
-</Configuration>
\ No newline at end of file
+</Configuration>
diff --git a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/pom.xml b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/pom.xml
index 290252a929..7e5eee18e4 100644
--- a/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/pom.xml
+++ b/log4j-spring-cloud-config/log4j-spring-cloud-config-samples/pom.xml
@@ -36,35 +36,11 @@
</properties>
<dependencyManagement>
<dependencies>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- </dependency>
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-core</artifactId>
<version>2.1.4.RELEASE</version>
</dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.13.1</version>
- <scope>test</scope>
- </dependency>
</dependencies>
</dependencyManagement>
<modules>
@@ -72,6 +48,22 @@
<module>log4j-spring-cloud-config-sample-server</module>
</modules>
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-maven-plugin</artifactId>
+ <version>${spring-boot.version}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>repackage</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<!-- Include the standard NOTICE and LICENSE -->
<plugin>
diff --git a/log4j-spring-cloud-config/pom.xml b/log4j-spring-cloud-config/pom.xml
index 70725add5a..5e9e158055 100644
--- a/log4j-spring-cloud-config/pom.xml
+++ b/log4j-spring-cloud-config/pom.xml
@@ -29,15 +29,23 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revapi.skip>true</revapi.skip>
- <spring-cloud-version>2020.0.4</spring-cloud-version>
+ <spring-cloud.version>2021.0.4</spring-cloud.version>
<log4jParentDir>${basedir}/..</log4jParentDir>
<maven.doap.skip>true</maven.doap.skip>
</properties>
<dependencyManagement>
<dependencies>
+ <!-- First BOM declaring a version wins, so it must be ours. -->
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
+ <artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
@@ -45,7 +53,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
- <version>${spring-cloud-version}</version>
+ <version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
diff --git a/src/tools/explicit-version.xslt b/src/tools/explicit-version.xslt
new file mode 100644
index 0000000000..943fb4fcaf
--- /dev/null
+++ b/src/tools/explicit-version.xslt
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache license, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the license for the specific language governing permissions and
+ ~ limitations under the license.
+ -->
+<!--
+ This stylesheet lists all dependency and plugin versions that are listed explicitly.
+
+ Usage:
+ java -cp Xalan_bin_distribution_jars org.apache.xalan.xslt.Process -IN pom.xml -OUT pom.xml.out -XSL this.file.xslt
+ -->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fn="http://www.w3.org/2005/xpath-functions"
+ xmlns:pom="http://maven.apache.org/POM/4.0.0">
+ <xsl:output method="text"/>
+ <xsl:template match="pom:plugin|pom:dependency">
+ <xsl:text>	</xsl:text>
+ <xsl:value-of select="pom:groupId"/>
+ <xsl:text>:</xsl:text>
+ <xsl:value-of select="pom:artifactId"/>
+ <xsl:text>:</xsl:text>
+ <xsl:value-of select="pom:version"/>
+ <xsl:if test="pom:type|pom:classifier">
+ <xsl:text>:</xsl:text>
+ <xsl:value-of select="pom:type|pom:classifier"/>
+ </xsl:if>
+ <xsl:text>
</xsl:text>
+ </xsl:template>
+ <xsl:template match="pom:properties">
+ <xsl:if test="node()[fn:ends-with(local-name(), '.version')]">
+ <xsl:text>Version related properties:
</xsl:text>
+ </xsl:if>
+ <xsl:for-each select="node()[fn:ends-with(local-name(), '.version')]">
+ <xsl:text>	</xsl:text>
+ <xsl:value-of select="local-name()"/>
+ <xsl:text> = </xsl:text>
+ <xsl:value-of select="text()"/>
+ <xsl:text>
</xsl:text>
+ </xsl:for-each>
+ </xsl:template>
+ <xsl:template match="pom:dependencyManagement/pom:dependencies">
+ <xsl:if test="pom:dependency[pom:version]">
+ <xsl:text>Dependency management:
</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="pom:dependency[pom:version]"/>
+ </xsl:template>
+ <xsl:template match="pom:dependencies">
+ <xsl:if test="pom:dependency[pom:version]">
+ <xsl:text>Dependencies:
</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="pom:dependency[pom:version]"/>
+ </xsl:template>
+ <xsl:template match="pom:pluginManagement/pom:plugins">
+ <xsl:if test="pom:plugin[pom:version]">
+ <xsl:text>Plugin management:
</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="pom:plugin[pom:version]"/>
+ </xsl:template>
+ <xsl:template match="pom:plugins">
+ <xsl:if test="pom:plugin[pom:version]">
+ <xsl:text>Plugins:
</xsl:text>
+ </xsl:if>
+ <xsl:apply-templates select="pom:plugin[pom:version]"/>
+ </xsl:template>
+ <xsl:template match="pom:project">
+ <xsl:text>
Artifact:</xsl:text>
+ <xsl:value-of select="pom:artifactId"/>
+ <xsl:text>
</xsl:text>
+ <xsl:apply-templates select="pom:properties"/>
+ <xsl:apply-templates select="pom:dependencyManagement/pom:dependencies"/>
+ <xsl:apply-templates select="pom:dependencies"/>
+ <xsl:apply-templates select="pom:build/pom:pluginManagement/pom:plugins"/>
+ <xsl:apply-templates select="pom:build/pom:plugins"/>
+ </xsl:template>
+</xsl:stylesheet>