forked from pool/javapackages-tools
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 16 07:23:37 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to version 5.3.1
|
||||
- Modified patch:
|
||||
* suse-use-libdir.patch
|
||||
+ rediff to changed context
|
||||
- Added patch:
|
||||
* useless-plugins.patch
|
||||
+ upstream patch to skip plugins that are useless during rpm
|
||||
build
|
||||
- Define _rpmmacrodir for distributions that don't have it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 5 12:32:03 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -42,6 +42,8 @@ Patch1: python-optional.patch
|
||||
#PATCH-FIX-SUSE: SUSE did not bump epoch of openjdk packages, whereas Fedora did
|
||||
# Avoid generating unresolvable requires
|
||||
Patch2: suse-no-epoch.patch
|
||||
#PATCH-FIX-UPSTREM: Avoid requiring maven plugins useless for rpm build
|
||||
Patch3: useless-plugins.patch
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: perl
|
||||
|
||||
65
useless-plugins.patch
Normal file
65
useless-plugins.patch
Normal file
@@ -0,0 +1,65 @@
|
||||
--- javapackages-5.3.1/configs/configuration.xml 2019-06-14 12:26:27.000000000 +0200
|
||||
+++ javapackages-5.3.1/configs/configuration.xml 2020-07-16 09:18:03.085645130 +0200
|
||||
@@ -4,6 +4,62 @@
|
||||
<metadataRepositories>
|
||||
<repository>/usr/share/maven-metadata</repository>
|
||||
</metadataRepositories>
|
||||
+ <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>
|
||||
</resolverSettings>
|
||||
<installerSettings>
|
||||
<metadataDir>usr/share/maven-metadata</metadataDir>
|
||||
Reference in New Issue
Block a user