Install a single pom.xml in your local repository
Sometimes you have a pom.xml that you want to install in your repository without wanting to install your whole build.
For instance you have a multi-modules project, and you make a change
to the parent pom. You want to install it but not having to install all
the children modules.
There’s an option for that, that’s the ‘non-recursive’ directive.
mvn -N install
will install only what’s in the current directory.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)