Konubinix' opinionated web of thoughts

Maven Modules + Building a Single Specific Module

Fleeting

Maven Modules + Building a Single Specific Module - Stack Overflow

[2021-02-28 Sun 22:53]

So just cd into the parent P directory and run:

mvn install -pl B -am

[2021-02-28 Sun 22:54]

Note that you need to use a colon if you are referencing an artifactId which differs from the directory name:

mvn install -pl :B -am