Update to upstream version 2.8.2
This commit is contained in:
parent
1493b17d44
commit
4b937070fc
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ sonatype-plexus-compiler-plexus-compiler-1.8.3-0-gef6142f.tar.gz
|
|||||||
/plexus-compiler-2.4.tar.gz
|
/plexus-compiler-2.4.tar.gz
|
||||||
/plexus-compiler-2.7.tar.gz
|
/plexus-compiler-2.7.tar.gz
|
||||||
/plexus-compiler-2.8.1.tar.gz
|
/plexus-compiler-2.8.1.tar.gz
|
||||||
|
/plexus-compiler-2.8.2.tar.gz
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
From 3a9c9a0bea7794c04ddbb8ac0520839c0f3d1cd0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Michael Simacek <msimacek@redhat.com>
|
|
||||||
Date: Tue, 1 Nov 2016 11:17:02 +0100
|
|
||||||
Subject: [PATCH] Copy input map in setCustomCompilerArguments[AsMap]
|
|
||||||
|
|
||||||
---
|
|
||||||
.../plexus/compiler/CompilerConfiguration.java | 18 ++++--------------
|
|
||||||
1 file changed, 4 insertions(+), 14 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/plexus-compiler-api/src/main/java/org/codehaus/plexus/compiler/CompilerConfiguration.java b/plexus-compiler-api/src/main/java/org/codehaus/plexus/compiler/CompilerConfiguration.java
|
|
||||||
index 69fc810..d4c4c03 100644
|
|
||||||
--- a/plexus-compiler-api/src/main/java/org/codehaus/plexus/compiler/CompilerConfiguration.java
|
|
||||||
+++ b/plexus-compiler-api/src/main/java/org/codehaus/plexus/compiler/CompilerConfiguration.java
|
|
||||||
@@ -426,14 +426,7 @@ public class CompilerConfiguration
|
|
||||||
@Deprecated
|
|
||||||
public void setCustomCompilerArguments( LinkedHashMap<String, String> customCompilerArguments )
|
|
||||||
{
|
|
||||||
- if ( customCompilerArguments == null )
|
|
||||||
- {
|
|
||||||
- this.customCompilerArguments = new ArrayList<Map.Entry<String,String>>();
|
|
||||||
- }
|
|
||||||
- else
|
|
||||||
- {
|
|
||||||
- this.customCompilerArguments = customCompilerArguments.entrySet();
|
|
||||||
- }
|
|
||||||
+ setCustomCompilerArgumentsAsMap( customCompilerArguments );
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
@@ -454,13 +447,10 @@ public class CompilerConfiguration
|
|
||||||
|
|
||||||
public void setCustomCompilerArgumentsAsMap( Map<String, String> customCompilerArguments )
|
|
||||||
{
|
|
||||||
- if ( customCompilerArguments == null )
|
|
||||||
- {
|
|
||||||
- this.customCompilerArguments = new ArrayList<Map.Entry<String,String>>();
|
|
||||||
- }
|
|
||||||
- else
|
|
||||||
+ this.customCompilerArguments = new ArrayList<Map.Entry<String,String>>();
|
|
||||||
+ if ( customCompilerArguments != null )
|
|
||||||
{
|
|
||||||
- this.customCompilerArguments = customCompilerArguments.entrySet();
|
|
||||||
+ this.customCompilerArguments.addAll( customCompilerArguments.entrySet() );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
Name: plexus-compiler
|
Name: plexus-compiler
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Version: 2.8.1
|
Version: 2.8.2
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Compiler call initiators for Plexus
|
Summary: Compiler call initiators for Plexus
|
||||||
# extras subpackage has a bit different licensing
|
# extras subpackage has a bit different licensing
|
||||||
# parts of compiler-api are ASL2.0/MIT
|
# parts of compiler-api are ASL2.0/MIT
|
||||||
@ -15,9 +15,6 @@ Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{version
|
|||||||
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||||||
Source2: LICENSE.MIT
|
Source2: LICENSE.MIT
|
||||||
|
|
||||||
# https://github.com/codehaus-plexus/plexus-compiler/pull/25
|
|
||||||
Patch0: 0001-Copy-input-map-in-setCustomCompilerArguments-AsMap.patch
|
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus-components:pom:)
|
BuildRequires: mvn(org.codehaus.plexus:plexus-components:pom:)
|
||||||
@ -59,8 +56,6 @@ API documentation for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
cp %{SOURCE1} LICENSE
|
cp %{SOURCE1} LICENSE
|
||||||
cp %{SOURCE2} LICENSE.MIT
|
cp %{SOURCE2} LICENSE.MIT
|
||||||
|
|
||||||
@ -103,6 +98,9 @@ cp %{SOURCE2} LICENSE.MIT
|
|||||||
%doc LICENSE LICENSE.MIT
|
%doc LICENSE LICENSE.MIT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 11 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:2.8.2-1
|
||||||
|
- Update to upstream version 2.8.2
|
||||||
|
|
||||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8.1-5
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.8.1-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
7ac901f1dcb6e1636207e3d981bd154c plexus-compiler-2.8.1.tar.gz
|
SHA512 (plexus-compiler-2.8.2.tar.gz) = 2d1555a1b344a34f613d2ca6f80a074ab6f9ea28408e908964a1f0de3403dd3a6687da80c2f6107a2f3278c65c2b3c545b7a706ed04c462b34cb6933b9576a9f
|
||||||
3b83ef96387f14655fc854ddc3c6bd57 LICENSE-2.0.txt
|
SHA512 (LICENSE-2.0.txt) = 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8
|
||||||
|
Loading…
Reference in New Issue
Block a user