You're among my Maven gurus, so I dare to ask the question here ;)

I was fiddling with a multi-module project, where certain modules (such as
tests, benchmarks or other stuff) need not be released to maven central
repos. What I would like to achieve is this:

1) single parent POM so that information can be pushed to submodules,
2) single parent POM so that mvn compile, mvn test, etc. all descent to the
entire project structure,
3) functional maven release plugin that does not deploy certain submodules.

So far I have a parent property in the parent pom that configures
maven-deploy plugin's skip configuration property. Submodules that don't
need to be released override this property.

Is there a better/ more graceful way to achieve the above?

Dawid

Reply via email to