Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package jackson-dataformat-xml for 
openSUSE:Factory checked in at 2024-11-06 16:55:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jackson-dataformat-xml (Old)
 and      /work/SRC/openSUSE:Factory/.jackson-dataformat-xml.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jackson-dataformat-xml"

Wed Nov  6 16:55:54 2024 rev:7 rq:1221676 version:2.17.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/jackson-dataformat-xml/jackson-dataformat-xml.changes
    2024-08-14 14:15:34.166341217 +0200
+++ 
/work/SRC/openSUSE:Factory/.jackson-dataformat-xml.new.2020/jackson-dataformat-xml.changes
  2024-11-06 16:56:54.924398707 +0100
@@ -1,0 +2,6 @@
+Wed Nov  6 07:59:22 UTC 2024 - Fridrich Strba <[email protected]>
+
+- Upgrade to 2.17.3
+  * No changes since 2.17.2
+
+-------------------------------------------------------------------

Old:
----
  jackson-dataformat-xml-2.17.2.tar.gz

New:
----
  jackson-dataformat-xml-2.17.3.tar.gz

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

Other differences:
------------------
++++++ jackson-dataformat-xml.spec ++++++
--- /var/tmp/diff_new_pack.x92NH5/_old  2024-11-06 16:56:55.456420830 +0100
+++ /var/tmp/diff_new_pack.x92NH5/_new  2024-11-06 16:56:55.460420996 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           jackson-dataformat-xml
-Version:        2.17.2
+Version:        2.17.3
 Release:        0
 Summary:        Jackson extension component for reading and writing XML 
encoded data
 License:        Apache-2.0

++++++ jackson-dataformat-xml-2.17.2.tar.gz -> 
jackson-dataformat-xml-2.17.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jackson-dataformat-xml-jackson-dataformat-xml-2.17.2/pom.xml 
new/jackson-dataformat-xml-jackson-dataformat-xml-2.17.3/pom.xml
--- old/jackson-dataformat-xml-jackson-dataformat-xml-2.17.2/pom.xml    
2024-07-05 19:40:50.000000000 +0200
+++ new/jackson-dataformat-xml-jackson-dataformat-xml-2.17.3/pom.xml    
2024-11-01 22:20:25.000000000 +0100
@@ -9,11 +9,11 @@
   <parent>
     <groupId>com.fasterxml.jackson</groupId>
     <artifactId>jackson-base</artifactId>
-    <version>2.17.2</version>
+    <version>2.17.3</version>
   </parent>
   <groupId>com.fasterxml.jackson.dataformat</groupId>
   <artifactId>jackson-dataformat-xml</artifactId>
-  <version>2.17.2</version>
+  <version>2.17.3</version>
   <name>Jackson-dataformat-XML</name>
   <packaging>jar</packaging>
   <description>Data format extension for Jackson to offer
@@ -24,7 +24,7 @@
     
<connection>scm:git:[email protected]:FasterXML/jackson-dataformat-xml.git</connection>
     
<developerConnection>scm:git:[email protected]:FasterXML/jackson-dataformat-xml.git</developerConnection>
     <url>http://github.com/FasterXML/jackson-dataformat-xml</url>    
-    <tag>jackson-dataformat-xml-2.17.2</tag>
+    <tag>jackson-dataformat-xml-2.17.3</tag>
   </scm>
   <properties>
     
<packageVersion.dir>com/fasterxml/jackson/dataformat/xml</packageVersion.dir>
@@ -34,7 +34,7 @@
     <!-- And presumably import too? -->
 
     <!-- for Reproducible Builds -->
-    
<project.build.outputTimestamp>2024-07-05T17:40:38Z</project.build.outputTimestamp>
+    
<project.build.outputTimestamp>2024-11-01T21:20:12Z</project.build.outputTimestamp>
   </properties>
 
   <dependencies>
@@ -202,4 +202,58 @@
     </repository>
   </repositories>
 
+  <profiles>
+    <profile>
+      <!-- And different set up for JDK 17 -->
+      <id>java17</id>
+      <activation>
+        <jdk>17</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>build-helper-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>add-test-source</id>
+                <phase>generate-test-sources</phase>
+                <goals>
+                  <goal>add-test-source</goal>
+                </goals>
+                <configuration>
+                  <sources>
+                    <source>src/test-jdk17/java</source>
+                  </sources>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <inherited>true</inherited>
+            <configuration>
+              <!-- Enable Java 17 for all sources so that Intellij picks the 
right language level -->
+              <source>17</source>
+              <release>17</release>
+              <compilerArgs>
+                <arg>-parameters</arg>
+                <arg>--add-opens=java.base/java.lang=ALL-UNNAMED</arg>
+                <arg>--add-opens=java.base/java.util=ALL-UNNAMED</arg>
+              </compilerArgs>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <argLine>--add-opens=java.base/java.lang=ALL-UNNAMED 
--add-opens=java.base/java.util=ALL-UNNAMED</argLine>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jackson-dataformat-xml-jackson-dataformat-xml-2.17.2/release-notes/VERSION-2.x
 
new/jackson-dataformat-xml-jackson-dataformat-xml-2.17.3/release-notes/VERSION-2.x
--- 
old/jackson-dataformat-xml-jackson-dataformat-xml-2.17.2/release-notes/VERSION-2.x
  2024-07-05 19:40:50.000000000 +0200
+++ 
new/jackson-dataformat-xml-jackson-dataformat-xml-2.17.3/release-notes/VERSION-2.x
  2024-11-01 22:20:25.000000000 +0100
@@ -8,6 +8,10 @@
 
 No changes since 2.17
 
+2.17.3 (01-Nov-2024)
+
+No changes since 2.17.2
+
 2.17.2 (05-Jul-2024)
 
 #657: Nesting depth in `XmlReadContext` is not incremented/decremented on
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jackson-dataformat-xml-jackson-dataformat-xml-2.17.2/src/test-jdk17/java/com/fasterxml/jackson/dataformat/xml/jdk17/Java17CollectionsTest.java
 
new/jackson-dataformat-xml-jackson-dataformat-xml-2.17.3/src/test-jdk17/java/com/fasterxml/jackson/dataformat/xml/jdk17/Java17CollectionsTest.java
--- 
old/jackson-dataformat-xml-jackson-dataformat-xml-2.17.2/src/test-jdk17/java/com/fasterxml/jackson/dataformat/xml/jdk17/Java17CollectionsTest.java
  1970-01-01 01:00:00.000000000 +0100
+++ 
new/jackson-dataformat-xml-jackson-dataformat-xml-2.17.3/src/test-jdk17/java/com/fasterxml/jackson/dataformat/xml/jdk17/Java17CollectionsTest.java
  2024-11-01 22:20:25.000000000 +0100
@@ -0,0 +1,31 @@
+package com.fasterxml.jackson.dataformat.xml.jdk17;
+
+import java.util.List;
+import java.util.stream.Collectors;
+import java.util.stream.Stream;
+
+import com.fasterxml.jackson.dataformat.xml.XmlMapper;
+import com.fasterxml.jackson.dataformat.xml.XmlTestBase;
+
+public class Java17CollectionsTest extends XmlTestBase
+{
+    private final XmlMapper _xmlMapper = new XmlMapper();
+
+    public void testStreamOf()
+            throws Exception
+    {
+        List<String> input = Stream.of("a", "b", 
"c").collect(Collectors.toList());
+
+        String ser = _xmlMapper.writeValueAsString(input);
+        
assertEquals("<ArrayList><item>a</item><item>b</item><item>c</item></ArrayList>",
 ser);
+
+        List<?> deser = _xmlMapper.readValue(ser, List.class);
+        assertEquals(input, deser);
+
+        input = Stream.of("a", "b", "c").toList();
+        ser = _xmlMapper.writeValueAsString(input);
+        deser = _xmlMapper.readValue(ser, List.class);
+        assertEquals(input, deser);
+    }
+
+}

Reply via email to