Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package maven-deploy-plugin for 
openSUSE:Factory checked in at 2026-07-20 09:59:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maven-deploy-plugin (Old)
 and      /work/SRC/openSUSE:Factory/.maven-deploy-plugin.new.24530 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "maven-deploy-plugin"

Mon Jul 20 09:59:05 2026 rev:6 rq:1366607 version:3.1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/maven-deploy-plugin/maven-deploy-plugin.changes  
2026-05-11 17:07:48.598632991 +0200
+++ 
/work/SRC/openSUSE:Factory/.maven-deploy-plugin.new.24530/maven-deploy-plugin.changes
       2026-07-20 10:01:00.811509147 +0200
@@ -1,0 +2,7 @@
+Sun Jul 19 13:51:51 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Added patch:
+  * plexus-xml4-compat.patch
+    + make this code buildable with both plexus-xml 3.x and 4.x
+
+-------------------------------------------------------------------

New:
----
  plexus-xml4-compat.patch

----------(New B)----------
  New:- Added patch:
  * plexus-xml4-compat.patch
    + make this code buildable with both plexus-xml 3.x and 4.x
----------(New E)----------

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

Other differences:
------------------
++++++ maven-deploy-plugin.spec ++++++
--- /var/tmp/diff_new_pack.1iNALc/_old  2026-07-20 10:01:03.071585206 +0200
+++ /var/tmp/diff_new_pack.1iNALc/_new  2026-07-20 10:01:03.087585744 +0200
@@ -25,6 +25,7 @@
 URL:            https://maven.apache.org/plugins/maven-deploy-plugin/
 Source0:        
https://github.com/apache/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz
 Source1:        https://www.apache.org/licenses/LICENSE-2.0.txt
+Patch0:         plexus-xml4-compat.patch
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 1.8
 BuildRequires:  maven-local
@@ -56,6 +57,7 @@
 %prep
 %setup -q -n %{name}-%{name}-%{version}
 cp %{SOURCE1} LICENSE
+%patch -P 0 -p1
 
 %build
 

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.1iNALc/_old  2026-07-20 10:01:03.479598937 +0200
+++ /var/tmp/diff_new_pack.1iNALc/_new  2026-07-20 10:01:03.515600148 +0200
@@ -1,6 +1,6 @@
-mtime: 1778478265
-commit: e95264147d4ff7d38ab36e3a74a8e91db319ff8b37577c7daed5897c7461b5d3
+mtime: 1784469208
+commit: dd0a6b8e3df3309308117e45d3d583804fa51addb16b2067093ad5d0d9dcf8be
 url: https://src.opensuse.org/java-packages/maven-deploy-plugin
-revision: e95264147d4ff7d38ab36e3a74a8e91db319ff8b37577c7daed5897c7461b5d3
+revision: dd0a6b8e3df3309308117e45d3d583804fa51addb16b2067093ad5d0d9dcf8be
 projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-07-19 15:53:28.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ plexus-xml4-compat.patch ++++++
--- 
maven-deploy-plugin-maven-deploy-plugin-3.1.4/src/main/java/org/apache/maven/plugins/deploy/DeployFileMojo.java
     2026-07-19 15:30:02.135489215 +0200
+++ 
maven-deploy-plugin-maven-deploy-plugin-3.1.4/src/main/java/org/apache/maven/plugins/deploy/DeployFileMojo.java
     2026-07-19 15:33:55.380869408 +0200
@@ -44,8 +44,8 @@
 import org.codehaus.plexus.util.FileUtils;
 import org.codehaus.plexus.util.IOUtil;
 import org.codehaus.plexus.util.StringUtils;
-import org.codehaus.plexus.util.xml.ReaderFactory;
-import org.codehaus.plexus.util.xml.WriterFactory;
+import org.codehaus.plexus.util.xml.XmlStreamReader;
+import org.codehaus.plexus.util.xml.XmlStreamWriter;
 import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
 import org.eclipse.aether.RepositorySystemSession;
 import org.eclipse.aether.artifact.Artifact;
@@ -454,7 +454,7 @@
      * @throws MojoExecutionException If the file doesn't exist or cannot be 
read.
      */
     Model readModel(File pomFile) throws MojoExecutionException {
-        try (Reader reader = ReaderFactory.newXmlReader(pomFile)) {
+        try (Reader reader = new XmlStreamReader(pomFile)) {
             return new MavenXpp3Reader().read(reader);
         } catch (FileNotFoundException e) {
             throw new MojoExecutionException("POM not found " + pomFile, e);
@@ -478,7 +478,7 @@
             File tempFile = File.createTempFile("mvndeploy", ".pom");
             tempFile.deleteOnExit();
 
-            try (Writer fw = WriterFactory.newXmlWriter(tempFile)) {
+            try (Writer fw = new XmlStreamWriter(tempFile)) {
                 new MavenXpp3Writer().write(fw, model);
             }
 

Reply via email to