-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I have a project that contains a module with only java test sources (src/test/java) - since these are component tests that span several other modules.
Maven fails with the log4j-transform
maven plugin:
[INFO] --- resources:3.3.1:resources (default-resources) @ pii-learning-app-qa ---
[INFO] skip non existing resourceDirectory /Users/ykunda/work/akamai/csiazure/pii-learning/pii-spark-apps/pii-learning-app-qa/src/main/resources
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ pii-learning-app-qa ---
[INFO] No sources to compile
[INFO]
[INFO] --- scala:4.8.1:compile (default) @ pii-learning-app-qa ---
[INFO] compile in 0.0 s
[INFO] No sources to compile
[INFO]
[INFO] --- log4j-transform:0.2.0:process-classes (default) @ pii-learning-app-qa ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for pii-learning 1.0.0-SNAPSHOT:
[INFO]
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:32 min
[INFO] Finished at: 2024-12-08T18:26:23+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.logging.log4j:log4j-transform-maven-plugin:0.2.0:process-classes (default) on project pii-learning-app-qa: Execution default of goal org.apache.logging.log4j:log4j-transform-maven-plugin:0.2.0:process-classes failed: basedir /Users/ykunda/work/akamai/csiazure/pii-learning/pii-spark-apps/pii-learning-app-qa/target/classes does not exist -> [Help 1]
As you can see, before the log4j-transform
plugin runs, the resources
, compiler
and scala
plugins run and quietly report they have nothing to do.
I believe the log4j-transform
plugin should do the same.
Metadata
Metadata
Assignees
Labels
No labels