82 lines
2.8 KiB
Diff
82 lines
2.8 KiB
Diff
From d95ecd520fef469dd40d8fa54955928b82fd30ce Mon Sep 17 00:00:00 2001
|
|
From: Mikolaj Izdebski <mizdebsk@redhat.com>
|
|
Date: Sat, 29 Jun 2019 12:09:25 +0200
|
|
Subject: [PATCH 4/7] Skip execution of various Maven plugins
|
|
|
|
Resolves: #70
|
|
---
|
|
configs/configuration.xml | 58 +++++++++++++++++++++++++++++++++++++++
|
|
1 file changed, 58 insertions(+)
|
|
|
|
diff --git a/configs/configuration.xml b/configs/configuration.xml
|
|
index b6288fea..4431f25e 100644
|
|
--- a/configs/configuration.xml
|
|
+++ b/configs/configuration.xml
|
|
@@ -1,5 +1,63 @@
|
|
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<configuration xmlns="http://fedorahosted.org/xmvn/CONFIG/2.0.0">
|
|
+ <buildSettings>
|
|
+ <skippedPlugins>
|
|
+ <!-- Version of Java and bytecode level is always fixed in distro -->
|
|
+ <plugin>
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
+ <artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <plugin>
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
+ <artifactId>maven-enforcer-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <!-- Static analysis and code style is upstream's business -->
|
|
+ <plugin>
|
|
+ <groupId>org.codehaus.moj</groupId>
|
|
+ <artifactId>findbugs-maven-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <plugin>
|
|
+ <groupId>com.github.spotbug</groupId>
|
|
+ <artifactId>spotbugs-maven-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <plugin>
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
+ <artifactId>maven-checkstyle-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <plugin>
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
+ <artifactId>maven-pmd-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <!-- Code coverage is upstream's business -->
|
|
+ <plugin>
|
|
+ <groupId>org.jacoco</groupId>
|
|
+ <artifactId>jacoco-maven-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <plugin>
|
|
+ <groupId>org.eluder.coveralls</groupId>
|
|
+ <artifactId>coveralls-maven-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <plugin>
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
+ <artifactId>cobertura-maven-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <!-- Release auditing is upstream's business -->
|
|
+ <plugin>
|
|
+ <groupId>org.apache.rat</groupId>
|
|
+ <artifactId>apache-rat-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <!-- Cannot code sign in downstream builds -->
|
|
+ <plugin>
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
+ <artifactId>maven-gpg-plugin</artifactId>
|
|
+ </plugin>
|
|
+ <!-- Cannot push artifacts to Nexus server -->
|
|
+ <plugin>
|
|
+ <groupId>org.sonatype.plugins</groupId>
|
|
+ <artifactId>nexus-staging-maven-plugin</artifactId>
|
|
+ </plugin>
|
|
+ </skippedPlugins>
|
|
+ </buildSettings>
|
|
<resolverSettings>
|
|
<metadataRepositories>
|
|
<repository>/usr/share/maven-metadata</repository>
|
|
--
|
|
2.26.2
|
|
|