diff --git a/core-java-modules/core-java-15/pom.xml b/core-java-modules/core-java-15/pom.xml
index e6193b4ea3..5f1ff1bbca 100644
--- a/core-java-modules/core-java-15/pom.xml
+++ b/core-java-modules/core-java-15/pom.xml
@@ -13,6 +13,7 @@
0.0.1-SNAPSHOT
+
org.apache.commons
@@ -26,4 +27,25 @@
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ ${maven.compiler.release}
+ ${maven.compiler.source.version}
+ ${maven.compiler.target.version}
+
+
+
+
+
+
+ 17
+ 17
+ 17
+ 3.0.0-M5
+
+
\ No newline at end of file
diff --git a/core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/firstandlastdayofyear/FirstAndLastDayOfYearUnitTest.java b/core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/firstandlastdayofyear/FirstAndLastDayOfYearUnitTest.java
index 5434c84af5..6f631958ef 100644
--- a/core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/firstandlastdayofyear/FirstAndLastDayOfYearUnitTest.java
+++ b/core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/firstandlastdayofyear/FirstAndLastDayOfYearUnitTest.java
@@ -21,8 +21,13 @@ public class FirstAndLastDayOfYearUnitTest {
LocalDate firstDay = today.with(firstDayOfYear());
LocalDate lastDay = today.with(lastDayOfYear());
- assertEquals("2023-01-01", firstDay.toString());
- assertEquals("2023-12-31", lastDay.toString());
+ assertEquals(today.getYear(), firstDay.getYear());
+ assertEquals(1, firstDay.getMonthValue());
+ assertEquals(1, firstDay.getDayOfMonth());
+
+ assertEquals(today.getYear(), lastDay.getYear());
+ assertEquals(12, lastDay.getMonthValue());
+ assertEquals(31, lastDay.getDayOfMonth());
}
@Test
diff --git a/core-java-modules/java-spi/exchange-rate-api/pom.xml b/core-java-modules/java-spi/exchange-rate-api/pom.xml
index 8067175cac..bb22c63de1 100644
--- a/core-java-modules/java-spi/exchange-rate-api/pom.xml
+++ b/core-java-modules/java-spi/exchange-rate-api/pom.xml
@@ -3,6 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
+ com.baeldung
exchange-rate-api
exchange-rate-api
jar
diff --git a/core-java-modules/java-spi/exchange-rate-impl/pom.xml b/core-java-modules/java-spi/exchange-rate-impl/pom.xml
index 7ec10b1c04..7885d876a0 100644
--- a/core-java-modules/java-spi/exchange-rate-impl/pom.xml
+++ b/core-java-modules/java-spi/exchange-rate-impl/pom.xml
@@ -4,6 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
exchange-rate-impl
+ com.baeldung
exchange-rate-impl
jar
diff --git a/core-java-modules/java-spi/pom.xml b/core-java-modules/java-spi/pom.xml
index 48538f03b5..837700103e 100644
--- a/core-java-modules/java-spi/pom.xml
+++ b/core-java-modules/java-spi/pom.xml
@@ -3,8 +3,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
+ com.baeldung
java-spi
java-spi
+ 1.0.0-SNAPSHOT
pom
diff --git a/core-java-modules/pom.xml b/core-java-modules/pom.xml
index 7b26afbfd5..038930e0d4 100644
--- a/core-java-modules/pom.xml
+++ b/core-java-modules/pom.xml
@@ -6,13 +6,13 @@
com.baeldung.core-java-modules
core-java-modules
core-java-modules
+ 0.0.1-SNAPSHOT
pom
com.baeldung
parent-modules
1.0.0-SNAPSHOT
- ..
@@ -215,6 +215,29 @@
java-websocket
+
+
+ com.google.guava
+ guava
+ ${guava.version}
+
+
+ org.openjdk.jmh
+ jmh-core
+ ${jmh-core.version}
+
+
+ commons-io
+ commons-io
+ ${commons-io.version}
+
+
+
+
+ 17
+ 17
+
+
diff --git a/guava-modules/pom.xml b/guava-modules/pom.xml
index aa5a383663..be5a48c0cf 100644
--- a/guava-modules/pom.xml
+++ b/guava-modules/pom.xml
@@ -5,6 +5,7 @@
4.0.0
guava-modules
guava-modules
+ 0.0.1-SNAPSHOT
pom
diff --git a/jackson-modules/jackson-custom-conversions/src/test/java/com/baeldung/defaultserializercustomserializer/CallingDefaultSerializerUnitTest.java b/jackson-modules/jackson-custom-conversions/src/test/java/com/baeldung/defaultserializercustomserializer/CallingDefaultSerializerUnitTest.java
index c8b4ec7e1a..e9eadb1622 100644
--- a/jackson-modules/jackson-custom-conversions/src/test/java/com/baeldung/defaultserializercustomserializer/CallingDefaultSerializerUnitTest.java
+++ b/jackson-modules/jackson-custom-conversions/src/test/java/com/baeldung/defaultserializercustomserializer/CallingDefaultSerializerUnitTest.java
@@ -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();
diff --git a/jackson-modules/pom.xml b/jackson-modules/pom.xml
index 58c58164e8..e80340a4b9 100644
--- a/jackson-modules/pom.xml
+++ b/jackson-modules/pom.xml
@@ -5,6 +5,7 @@
4.0.0
jackson-modules
jackson-modules
+ 0.0.1-SNAPSHOT
pom
@@ -31,6 +32,16 @@
jackson-dataformat-xml
${jackson.version}
+
+ com.google.guava
+ guava
+ ${guava.version}
+
+
+ commons-io
+ commons-io
+ ${commons-io.version}
+
\ No newline at end of file
diff --git a/rxjava-modules/pom.xml b/rxjava-modules/pom.xml
index 160bbb327a..7bdfd0a9c1 100644
--- a/rxjava-modules/pom.xml
+++ b/rxjava-modules/pom.xml
@@ -6,6 +6,7 @@
com.baeldung.rxjava-modules
rxjava-modules
rxjava-modules
+ 0.0.1-SNAPSHOT
pom
@@ -48,6 +49,11 @@
awaitility
${awaitility.version}
+
+ com.google.guava
+ guava
+ ${guava.version}
+