diff --git a/core-java/pom.xml b/core-java/pom.xml
index 6c58653d5a..d21c624997 100644
--- a/core-java/pom.xml
+++ b/core-java/pom.xml
@@ -13,6 +13,7 @@
../parent-java
+
commons-io
diff --git a/core-java/src/test/java/com/baeldung/leapyear/LeapYearUnitTest.java b/core-java/src/test/java/com/baeldung/leapyear/LeapYearUnitTest.java
index 9fb3d03838..e710eecc66 100644
--- a/core-java/src/test/java/com/baeldung/leapyear/LeapYearUnitTest.java
+++ b/core-java/src/test/java/com/baeldung/leapyear/LeapYearUnitTest.java
@@ -1,6 +1,8 @@
package com.baeldung.leapyear;
+import java.time.LocalDate;
import java.time.Year;
+import java.time.format.DateTimeFormatter;
import java.util.GregorianCalendar;
import org.junit.Assert;
diff --git a/pom.xml b/pom.xml
index a9b4b3f119..1c0738cafb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -391,6 +391,7 @@
core-java-networking
core-java-perf
core-java-sun
+ core-java
core-scala
couchbase
custom-pmd
@@ -996,8 +997,7 @@
parent-spring-5
parent-java
parent-kotlin
-
- core-java
+
core-java-concurrency-advanced
core-kotlin