Make changes to remove relativepath from child modules like core java (#15535)

* Make changes to remove relativepath from child modules like core java

* Change some version numbers to minimize changes

* Fix tests

* Make the test more generic so that we dont have to hard code strings as it will require change every new year
This commit is contained in:
Amit Pandey
2024-01-02 23:14:18 +05:30
committed by GitHub
parent c606fc82f4
commit c03ed0c608
10 changed files with 77 additions and 4 deletions
@@ -11,6 +11,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.core.exc.StreamConstraintsException;
import org.junit.Before;
import org.junit.Test;
@@ -115,7 +116,7 @@ public class CallingDefaultSerializerUnitTest {
}
@Test(expected = StackOverflowError.class)
@Test(expected = StreamConstraintsException.class)
public void givenFolder_whenSerializedWithCallingOwnSerializer_exceptionOccured() throws IOException {
SimpleModule module = new SimpleModule();
+11
View File
@@ -5,6 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>jackson-modules</artifactId>
<name>jackson-modules</name>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
@@ -31,6 +32,16 @@
<artifactId>jackson-dataformat-xml</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
</dependencies>
</project>