This is an automated email from the ASF dual-hosted git repository.
mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new 5d190c76f9 Simplify pom files
5d190c76f9 is described below
commit 5d190c76f958c326a3e812d0b0a1022f425f7968
Author: Matt Sicker <[email protected]>
AuthorDate: Sun May 1 22:40:35 2022 -0500
Simplify pom files
- Use `maven.foobar.skip` properties instead of defining build plugins just
to set the equivalent settings.
- Remove stale sauce from copypasta.
Signed-off-by: Matt Sicker <[email protected]>
---
log4j-bom/pom.xml | 21 ++-----------
log4j-core-its/pom.xml | 35 ++++------------------
log4j-core-test/pom.xml | 22 --------------
log4j-distribution/pom.xml | 24 ++++-----------
log4j-gctests/pom.xml | 35 +++-------------------
log4j-perf/pom.xml | 21 ++-----------
log4j-plugin-processor/pom.xml | 22 --------------
log4j-samples/log4j-samples-configuration/pom.xml | 21 -------------
log4j-samples/log4j-samples-flume-common/pom.xml | 17 -----------
log4j-samples/log4j-samples-flume-embedded/pom.xml | 14 ---------
log4j-samples/log4j-samples-flume-remote/pom.xml | 26 ----------------
.../log4j-samples-loggerProperties/pom.xml | 20 -------------
log4j-samples/pom.xml | 22 +++++---------
.../pom.xml | 17 -----------
.../pom.xml | 22 ++------------
.../log4j-spring-cloud-config-samples/pom.xml | 22 +++-----------
16 files changed, 35 insertions(+), 326 deletions(-)
diff --git a/log4j-bom/pom.xml b/log4j-bom/pom.xml
index 19ee573d88..9d10988fec 100644
--- a/log4j-bom/pom.xml
+++ b/log4j-bom/pom.xml
@@ -32,6 +32,9 @@
<properties>
<!-- reproducible build setting -->
<project.build.outputTimestamp>10</project.build.outputTimestamp>
+ <maven.doap.skip>true</maven.doap.skip>
+ <maven.site.skip>true</maven.site.skip>
+ <maven.site.deploy.skip>true</maven.site.deploy.skip>
</properties>
<dependencyManagement>
<dependencies>
@@ -267,28 +270,10 @@
</dependencyManagement>
<build>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.7.1</version>
- <configuration>
- <skip>true</skip>
- <skipDeploy>true</skipDeploy>
- </configuration>
- </plugin>
<!-- RAT report -->
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
- <version>0.13</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-doap-plugin</artifactId>
- <version>1.2</version>
- <configuration>
- <skip>true</skip>
- </configuration>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
diff --git a/log4j-core-its/pom.xml b/log4j-core-its/pom.xml
index 930d5cb29d..0e90238e83 100644
--- a/log4j-core-its/pom.xml
+++ b/log4j-core-its/pom.xml
@@ -31,6 +31,11 @@
<docLabel>Core Integration Tests Documentation</docLabel>
<projectDir>/log4j-core-its</projectDir>
<revapi.skip>true</revapi.skip>
+ <maven.doap.skip>true</maven.doap.skip>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ <maven.site.skip>true</maven.site.skip>
+ <maven.site.deploy.skip>true</maven.site.deploy.skip>
+ <maven.test.skip>true</maven.test.skip>
</properties>
<dependencies>
<dependency>
@@ -253,12 +258,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
@@ -278,30 +277,6 @@
</groups>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- <skipDeploy>true</skipDeploy>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-doap-plugin</artifactId>
- <version>1.2</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
diff --git a/log4j-core-test/pom.xml b/log4j-core-test/pom.xml
index c8deb373d2..bacfbcd01d 100644
--- a/log4j-core-test/pom.xml
+++ b/log4j-core-test/pom.xml
@@ -471,28 +471,6 @@
<link>http://www.osgi.org/javadoc/r4v43/core/</link>
<link>https://commons.apache.org/proper/commons-lang/javadocs/api-release/</link>
</links>
- <groups>
- <group>
- <title>Core API</title>
- <packages>org.apache.logging.log4j.core</packages>
- </group>
- <group>
- <title>Configuration</title>
-
<packages>org.apache.logging.log4j.core.config*:org.apache.logging.log4j.core.selector</packages>
- </group>
- <group>
- <title>Core Plugins</title>
-
<packages>org.apache.logging.log4j.core.appender*:org.apache.logging.log4j.core.filter:org.apache.logging.log4j.core.layout:org.apache.logging.log4j.core.lookup:org.apache.logging.log4j.core.pattern:org.apache.logging.log4j.core.script</packages>
- </group>
- <group>
- <title>Tools</title>
-
<packages>org.apache.logging.log4j.core.net*:org.apache.logging.log4j.core.tools</packages>
- </group>
- <group>
- <title>Internals</title>
-
<packages>org.apache.logging.log4j.core.async:org.apache.logging.log4j.core.impl:org.apache.logging.log4j.core.util*:org.apache.logging.log4j.core.osgi:org.apache.logging.log4j.core.jackson:org.apache.logging.log4j.core.jmx</packages>
- </group>
- </groups>
</configuration>
<reportSets>
<reportSet>
diff --git a/log4j-distribution/pom.xml b/log4j-distribution/pom.xml
index 411e30cfc3..afea2e190e 100644
--- a/log4j-distribution/pom.xml
+++ b/log4j-distribution/pom.xml
@@ -21,12 +21,17 @@
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j</artifactId>
<version>3.0.0-SNAPSHOT</version>
- <relativePath>../</relativePath>
</parent>
<artifactId>log4j-distribution</artifactId>
<packaging>pom</packaging>
<name>Log4j Distribution</name>
<description>The Apache Log4j distribution archives.</description>
+ <properties>
+ <maven.doap.skip>true</maven.doap.skip>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ <maven.site.skip>true</maven.site.skip>
+ <maven.site.deploy.skip>true</maven.site.deploy.skip>
+ </properties>
<dependencies>
<!-- log4j-api -->
<dependency>
@@ -650,23 +655,6 @@
</execution> -->
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>${site.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- <skipDeploy>true</skipDeploy>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
diff --git a/log4j-gctests/pom.xml b/log4j-gctests/pom.xml
index dbdb647bd2..dd8faf6890 100644
--- a/log4j-gctests/pom.xml
+++ b/log4j-gctests/pom.xml
@@ -32,6 +32,10 @@
<projectDir>/core</projectDir>
<log4j2-logstash-layout.version>0.18</log4j2-logstash-layout.version>
<maven.doap.skip>true</maven.doap.skip>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ <maven.install.skip>true</maven.install.skip>
+ <maven.site.skip>true</maven.site.skip>
+ <maven.site.deploy.skip>true</maven.site.deploy.skip>
</properties>
<dependencies>
<!-- Naturally, all implementations require the log4j-api JAR -->
@@ -339,37 +343,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- <skipDeploy>true</skipDeploy>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-doap-plugin</artifactId>
- <version>1.2</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
diff --git a/log4j-perf/pom.xml b/log4j-perf/pom.xml
index 6263e7f88f..79f242e8ae 100644
--- a/log4j-perf/pom.xml
+++ b/log4j-perf/pom.xml
@@ -34,10 +34,12 @@
<docLabel>Apache Log4J Performance Tests</docLabel>
<projectDir>/log4j-perf</projectDir>
<jmh.version>1.34</jmh.version>
- <javac.target>1.7</javac.target>
<uberjar.name>benchmarks</uberjar.name>
<revapi.skip>true</revapi.skip>
<maven.doap.skip>true</maven.doap.skip>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ <maven.site.skip>true</maven.site.skip>
+ <maven.site.deploy.skip>true</maven.site.deploy.skip>
</properties>
<dependencies>
@@ -172,16 +174,6 @@
<build>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${compiler.plugin.version}</version>
- <configuration combine.self="override">
- <source>${maven.compiler.source}</source>
- <target>${maven.compiler.target}</target>
- <release>${maven.compiler.release}</release>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
@@ -247,13 +239,6 @@
</instructions>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
diff --git a/log4j-plugin-processor/pom.xml b/log4j-plugin-processor/pom.xml
index 40774b9a1b..57c9bcc2bf 100644
--- a/log4j-plugin-processor/pom.xml
+++ b/log4j-plugin-processor/pom.xml
@@ -237,28 +237,6 @@
<link>http://www.osgi.org/javadoc/r4v43/core/</link>
<link>https://commons.apache.org/proper/commons-lang/javadocs/api-release/</link>
</links>
- <groups>
- <group>
- <title>Core API</title>
- <packages>org.apache.logging.log4j.core</packages>
- </group>
- <group>
- <title>Configuration</title>
-
<packages>org.apache.logging.log4j.core.config*:org.apache.logging.log4j.core.selector</packages>
- </group>
- <group>
- <title>Core Plugins</title>
-
<packages>org.apache.logging.log4j.core.appender*:org.apache.logging.log4j.core.filter:org.apache.logging.log4j.core.layout:org.apache.logging.log4j.core.lookup:org.apache.logging.log4j.core.pattern:org.apache.logging.log4j.core.script</packages>
- </group>
- <group>
- <title>Tools</title>
-
<packages>org.apache.logging.log4j.core.net*:org.apache.logging.log4j.core.tools</packages>
- </group>
- <group>
- <title>Internals</title>
-
<packages>org.apache.logging.log4j.core.async:org.apache.logging.log4j.core.impl:org.apache.logging.log4j.core.util*:org.apache.logging.log4j.core.osgi:org.apache.logging.log4j.core.jackson:org.apache.logging.log4j.core.jmx</packages>
- </group>
- </groups>
</configuration>
<reportSets>
<reportSet>
diff --git a/log4j-samples/log4j-samples-configuration/pom.xml
b/log4j-samples/log4j-samples-configuration/pom.xml
index e1f84732af..10356b912f 100644
--- a/log4j-samples/log4j-samples-configuration/pom.xml
+++ b/log4j-samples/log4j-samples-configuration/pom.xml
@@ -25,11 +25,6 @@
<artifactId>log4j-samples-configuration</artifactId>
<packaging>jar</packaging>
<name>Apache Log4j Samples: Configuration</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <log4jParentDir>../..</log4jParentDir>
- </properties>
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
@@ -45,20 +40,4 @@
<scope>test</scope>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/log4j-samples/log4j-samples-flume-common/pom.xml
b/log4j-samples/log4j-samples-flume-common/pom.xml
index a91d0aefb0..4ad513e8dc 100644
--- a/log4j-samples/log4j-samples-flume-common/pom.xml
+++ b/log4j-samples/log4j-samples-flume-common/pom.xml
@@ -25,7 +25,6 @@
<artifactId>log4j-samples-flume-common</artifactId>
<packaging>jar</packaging>
<name>Apache Log4j Samples: Flume - Common</name>
- <url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<log4jParentDir>../..</log4jParentDir>
@@ -66,20 +65,4 @@
<scope>test</scope>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/log4j-samples/log4j-samples-flume-embedded/pom.xml
b/log4j-samples/log4j-samples-flume-embedded/pom.xml
index dfa497526b..7a4280a68c 100644
--- a/log4j-samples/log4j-samples-flume-embedded/pom.xml
+++ b/log4j-samples/log4j-samples-flume-embedded/pom.xml
@@ -27,9 +27,7 @@
<name>Apache Log4j Samples: Flume - Embedded</name>
<url>http://maven.apache.org</url>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<deploy.plugin.version>2.8.2</deploy.plugin.version>
- <log4jParentDir>../..</log4jParentDir>
</properties>
<dependencies>
<dependency>
@@ -110,14 +108,6 @@
<skip>true</skip>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
@@ -136,10 +126,6 @@
</systemProperties>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- </plugin>
</plugins>
</build>
</project>
diff --git a/log4j-samples/log4j-samples-flume-remote/pom.xml
b/log4j-samples/log4j-samples-flume-remote/pom.xml
index 08a45a40f8..449ce1c218 100644
--- a/log4j-samples/log4j-samples-flume-remote/pom.xml
+++ b/log4j-samples/log4j-samples-flume-remote/pom.xml
@@ -25,12 +25,6 @@
<artifactId>log4j-samples-flume-remote</artifactId>
<packaging>war</packaging>
<name>Apache Log4j Samples: Flume - Remote</name>
- <url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <deploy.plugin.version>2.8.2</deploy.plugin.version>
- <log4jParentDir>../..</log4jParentDir>
- </properties>
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j.samples</groupId>
@@ -90,22 +84,6 @@
</resource>
</resources>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.5.2</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
@@ -124,10 +102,6 @@
</systemProperties>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- </plugin>
</plugins>
</build>
</project>
diff --git a/log4j-samples/log4j-samples-loggerProperties/pom.xml
b/log4j-samples/log4j-samples-loggerProperties/pom.xml
index 6b474d0141..d562334d8c 100644
--- a/log4j-samples/log4j-samples-loggerProperties/pom.xml
+++ b/log4j-samples/log4j-samples-loggerProperties/pom.xml
@@ -26,10 +26,6 @@
<packaging>jar</packaging>
<name>Apache Log4j Samples: LoggerProperties</name>
<url>http://maven.apache.org</url>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <log4jParentDir>../..</log4jParentDir>
- </properties>
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
@@ -45,20 +41,4 @@
<scope>test</scope>
</dependency>
</dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/log4j-samples/pom.xml b/log4j-samples/pom.xml
index 33346b6a5c..07d909196f 100644
--- a/log4j-samples/pom.xml
+++ b/log4j-samples/pom.xml
@@ -30,6 +30,11 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revapi.skip>true</revapi.skip>
+ <maven.doap.skip>true</maven.doap.skip>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ <maven.install.skip>true</maven.install.skip>
+ <maven.site.skip>true</maven.site.skip>
+ <maven.site.deploy.skip>true</maven.site.deploy.skip>
</properties>
<dependencyManagement>
<dependencies>
@@ -86,15 +91,6 @@
</modules>
<build>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>${site.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- <skipDeploy>true</skipDeploy>
- </configuration>
- </plugin>
<!-- Include the standard NOTICE and LICENSE -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -111,12 +107,8 @@
</executions>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
</plugin>
</plugins>
</build>
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 6a46b9db2f..0c9caaf96a 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
@@ -159,23 +159,6 @@
<build>
<finalName>sampleapp</finalName>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>${site.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- <skipDeploy>true</skipDeploy>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-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 1e1a48215c..8e801b4b4e 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
@@ -24,20 +24,21 @@
<java.version>1.8</java.version>
<spring-cloud.version>Hoxton.SR9</spring-cloud.version>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ <maven.site.skip>true</maven.site.skip>
+ <maven.site.deploy.skip>true</maven.site.deploy.skip>
<!-- paths -->
<sonar.dependencyCheck.reportPath>${project.build.directory}/dependency-check-report.xml
</sonar.dependencyCheck.reportPath>
<!-- maven plugin versions -->
- <deploy.plugin.version>2.8.2</deploy.plugin.version>
<maven.checkstyle.version>3.0.0</maven.checkstyle.version>
<spotbugs.plugin.version>4.0.4</spotbugs.plugin.version>
<maven.google.code.findbugs.version>3.0.2</maven.google.code.findbugs.version>
<maven.google.code.findbugs.findbugs.version>3.0.1</maven.google.code.findbugs.findbugs.version>
<maven.jacoco.version>0.8.6</maven.jacoco.version>
<maven.pmd.version>3.9.0</maven.pmd.version>
- <site.plugin.version>3.4</site.plugin.version>
<!-- maven plugin config -->
<pmd.failurePriority>2</pmd.failurePriority>
@@ -120,23 +121,6 @@
<build>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>${site.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- <skipDeploy>true</skipDeploy>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
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 1efefaf2eb..b5721256cc 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
@@ -28,8 +28,11 @@
<name>Apache Log4j Spring Cloud Config Samples</name>
<url>http://maven.apache.org</url>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revapi.skip>true</revapi.skip>
+ <maven.doap.skip>true</maven.doap.skip>
+ <maven.deploy.skip>true</maven.deploy.skip>
+ <maven.site.skip>true</maven.site.skip>
+ <maven.site.deploy.skip>true</maven.site.deploy.skip>
</properties>
<dependencyManagement>
<dependencies>
@@ -70,15 +73,6 @@
</modules>
<build>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>${site.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- <skipDeploy>true</skipDeploy>
- </configuration>
- </plugin>
<!-- Include the standard NOTICE and LICENSE -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -94,14 +88,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${deploy.plugin.version}</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>