I have a multi modules Maven project : a parent and three child modules.
I want all of the modules to be built when I run mvn clean package
on the parent. But I would also like one of those module to not be uploaded to Nexus when using mvn deploy
(or mvn release:prepare
and mvn release:perform
) on the parent. I want this module to be skipped, ignored. Only the parent and the two other modules would be uploaded to Nexus.
Is there a way to achieve that?