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:
+2
-1
@@ -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();
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user