I would like to use Maven -pl
option to define which specific modules shall be included into reactor. The option works if list of module's paths is provided. Unfortunately, providing module's artifactIds is not working at all.
Sonatype: Maven: The Complete Reference docs are using multiproject example where directories names are matching artifactIds:
Is it possible to use -pl
option with artifactId
?
artifactIds
? I'm not aware of any sub-project where this is not the case in our project with 15 top-level projects and hundreds of sub-projects. – PrioressartifactId
applies - even if the majority doesn't apply for a certain build. Taking absolute directory names limited to the needed is much faster. – Prioress