You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Regression] testCompile goal tries to read target/classes instead of target/test-classes #1124
Starting with 3.16.0, there is a warning printed that suggests wrong target/ directory is being read. This is especially true when there are no classes being compiled from src/main/java and the module contains just tests.
[INFO] --- compiler:3.16.0:testCompile (test-compile) @ apache-maven ---
[WARNING] I/O error reading dependency state: /home/cstamas/Worx/apache-maven/maven-wt/maven-3.10.x/apache-maven/target/classes: /home/cstamas/Worx/apache-maven/maven-wt/maven-3.10.x/apache-maven/target/classes
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 1 source file with javac [debug deprecation release 8] to target/test-classes
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
Activity
cstamas commentedon Sep 26, 2026
Same happens on maven-3.10.x (currently):