$ mvn package (Maven 4, untouched Maven 3 style project) [INFO] ------------------------------------------------------------------------ [INFO] ------------------< com.ankurm.legacy:legacy-parent >------------------- [INFO] --------------------------------[ pom ]--------------------------------- [INFO] -------------------< com.ankurm.legacy:legacy-core >-------------------- [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] Version not locked for default bindings plugins [maven-resources-plugin, maven-compiler-plugin, maven-surefire-plugin, maven-jar-plugin], you should define versions in pluginManagement section of your pom.xml or parent [INFO] --- resources:3.5.0:resources (default-resources) @ legacy-core --- [INFO] --- compiler:3.16.0:compile (default-compile) @ legacy-core --- [INFO] Compiling 1 source file with javac [debug target 17] to target/classes [WARNING] location of system modules is not set in conjunction with -source 17 not setting the location of system modules may lead to class files that cannot run on JDK 17 --release 17 is recommended instead of -source 17 -target 17 because it sets the location of system modules automatically [INFO] --- resources:3.5.0:testResources (default-testResources) @ legacy-core --- [INFO] --- compiler:3.16.0:testCompile (default-testCompile) @ legacy-core --- [INFO] --- surefire:3.6.0:test (default-test) @ legacy-core --- [INFO] --- jar:3.5.1:jar (default-jar) @ legacy-core --- [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------