Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package exec-maven-plugin for 
openSUSE:Factory checked in at 2022-10-26 12:31:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/exec-maven-plugin (Old)
 and      /work/SRC/openSUSE:Factory/.exec-maven-plugin.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "exec-maven-plugin"

Wed Oct 26 12:31:29 2022 rev:4 rq:1031162 version:3.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/exec-maven-plugin/exec-maven-plugin.changes      
2022-07-13 13:45:50.418070312 +0200
+++ 
/work/SRC/openSUSE:Factory/.exec-maven-plugin.new.2275/exec-maven-plugin.changes
    2022-10-26 12:31:30.552276195 +0200
@@ -1,0 +2,9 @@
+Tue Oct 25 14:01:40 UTC 2022 - Fridrich Strba <[email protected]>
+
+- Added patch:
+  * exec-maven-plugin-ioexception.patch
+    + allow building with wider range of plexus-utils versions,
+      including the 3.5.0 that does not declare IOException as
+      thrown in functions where it is actually not thrown. 
+
+-------------------------------------------------------------------

New:
----
  exec-maven-plugin-ioexception.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ exec-maven-plugin.spec ++++++
--- /var/tmp/diff_new_pack.1t39HR/_old  2022-10-26 12:31:31.080277325 +0200
+++ /var/tmp/diff_new_pack.1t39HR/_new  2022-10-26 12:31:31.088277342 +0200
@@ -24,6 +24,7 @@
 Group:          Development/Libraries/Java
 URL:            https://www.mojohaus.org/exec-maven-plugin/
 Source0:        
https://repo1.maven.org/maven2/org/codehaus/mojo/exec-maven-plugin/%{version}/exec-maven-plugin-%{version}-source-release.zip
+Patch0:         exec-maven-plugin-ioexception.patch
 BuildRequires:  fdupes
 BuildRequires:  maven-local
 BuildRequires:  unzip
@@ -53,6 +54,7 @@
 
 %prep
 %setup -q -n exec-maven-plugin-%{version}
+%patch0 -p1
 
 sed -i 's/\r$//' LICENSE.txt
 find . -name *.jar -delete


++++++ exec-maven-plugin-ioexception.patch ++++++
diff -urEbwB 
exec-maven-plugin-3.0.0.orig/src/main/java/org/codehaus/mojo/exec/ExecMojo.java 
exec-maven-plugin-3.0.0/src/main/java/org/codehaus/mojo/exec/ExecMojo.java
--- 
exec-maven-plugin-3.0.0.orig/src/main/java/org/codehaus/mojo/exec/ExecMojo.java 
    2022-10-25 15:44:52.358398144 +0200
+++ exec-maven-plugin-3.0.0/src/main/java/org/codehaus/mojo/exec/ExecMojo.java  
2022-10-25 15:49:53.360427182 +0200
@@ -505,7 +505,7 @@
                 enviro.put( (String) entry.getKey(), (String) entry.getValue() 
);
             }
         }
-        catch ( IOException x )
+        catch ( Exception x )
         {
             getLog().error( "Could not assign default system enviroment 
variables.", x );
         }

Reply via email to