How to deploy a parent pom file without executing plugins
I am doing some re-factoring to use parent poms and put common configuration in a common place. I have a separate git repo to house the parent poms. Some of the common configuration specifies directories/files that will exist relative to the child projects, but not relative to the parent pom (they are in different git repos). When I try to deploy the pom, one of the plugins is failing because the path does not exist. How is this supposed to work? I'd expect that if the artifact has "pom" packaging then it wouldn't actually try to run the plugins (at least that is what I want). Or do the plugins I use need to be responsible for knowing that it is a "pom" artifact?
The parent should, probably, only have pluginManagement, not plugin. The pluginManagement section of the parent pom is used to share plugin versioning and base configuration across modules. This is in line with the dependency management section of the parent, which allows you to configure versions and exclusions across modules. For example, you could configure the site plugin in the parent to provide a standard look and feel across all modules, while the modules override the site plugin with module specific details.
maven - How to build uberjars with dependencies
encrypt maven passwords within eclipse using m2e
Maven - Reading a property from an external properties file
Want to build multimodule pom which builds 2 ear from same project in maven
maven deploy does not work the way it is supposed to. Or am i wrong?
Maven: Making Jars With Dependencies: Example From Book Doesn't Work
maven: which jaxb plugin to use? [duplicate]
Maven - delegate plugin execution to submodule
Set directory in Maven Antrun Plugin
Maven assembly:single issue
Where can I get the NaturalDocs Maven plugin?
define additional source directory in maven
Java: Maven: get pom.xml information in properties file (mercurial hash as version)
Jetty 8 Maven Plugin jetty:run-war not detecting WebApplicationInitializer
maven how to install a jar with a classifier and not install the default one