/[packages]/cauldron/maven-license-plugin/current/SOURCES/001-mavenlicenseplugin-fixbuild.patch
ViewVC logotype

Diff of /cauldron/maven-license-plugin/current/SOURCES/001-mavenlicenseplugin-fixbuild.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1099841 by pterjan, Sat Dec 27 01:45:05 2014 UTC revision 1099842 by neoclust, Tue May 9 11:06:32 2017 UTC
# Line 1  Line 1 
 From a1f7f0c16eb2333e527448c2e48a512ef8da50ed Mon Sep 17 00:00:00 2001  
 From: Stanislav Ochotnicky <sochotnicky@redhat.com>  
 Date: Tue, 24 Apr 2012 09:04:34 +0200  
 Subject: [PATCH] Fix build by removing some unneeded dependencies  
   
 ---  
  pom.xml |   72 ++++++--------------------------------------------------------  
  1 files changed, 7 insertions(+), 65 deletions(-)  
   
1  diff --git a/pom.xml b/pom.xml  diff --git a/pom.xml b/pom.xml
2  index a806a49..e806c77 100644  index a806a49..e806c77 100644
3  --- a/pom.xml  --- a/pom.xml
# Line 114  index a806a49..e806c77 100644 Line 105  index a806a49..e806c77 100644
105  --  --
106  1.7.7.6  1.7.7.6
107    
108    --- a/src/main/java/com/google/code/mojo/license/util/FileUtils.java    2010-08-06 13:00:51.000000000 +1000
109    +++ b/src/main/java/com/google/code/mojo/license/util/FileUtils.java    2015-02-27 15:04:46.157580507 +1100
110    @@ -52,7 +52,8 @@
111         }
112    
113         public static String read(URL location, Map<String, String> properties) throws IOException {
114    -        Reader reader = new InterpolationFilterReader(new BufferedReader(new InputStreamReader(location.openStream())), properties);
115    +        Map<String,Object> propertiesMap = java.util.Collections.<String,Object>unmodifiableMap(properties);
116    +        Reader reader = new InterpolationFilterReader(new BufferedReader(new InputStreamReader(location.openStream())), propertiesMap);
117             try {
118                 return IOUtil.toString(reader);
119             } finally {

Legend:
Removed from v.1099841  
changed lines
  Added in v.1099842

  ViewVC Help
Powered by ViewVC 1.1.30