Skip to content

BUG: Calling Maven goals in a multi-module project skipping modules #25

@mk868

Description

@mk868

Calling

mvn nullaudit:check

in the multi-module project gives the following result:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] multi-module                                                       [pom]
[INFO] service1                                                           [jar]
[INFO] service2                                                           [jar]
[INFO] 
[INFO] ----------------------< org.example:multi-module >----------------------
[INFO] Building multi-module 1.0.0-SNAPSHOT                               [1/3]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- nullaudit:0.5.0:check (default-cli) @ multi-module ---
[INFO] Skipping NullAudit execution: project has <packaging>pom</packaging>.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for multi-module 1.0.0-SNAPSHOT:
[INFO] 
[INFO] multi-module ....................................... SUCCESS [  0.147 s]
[INFO] service1 ........................................... SKIPPED
[INFO] service2 ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.358 s
[INFO] Finished at: 2025-04-24T18:05:45+02:00
[INFO] ------------------------------------------------------------------------

That SKIPPED should not be there, all modules should be processed, just like with mvn compiler:compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions