maven


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.

Related Links

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
Artifactory permissions
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

Categories

HOME
maven
arduino-uno
netsuite
json.net
yahoo-oauth
jgroups
survey
in-app-purchase
event-handling
telephony
google-static-maps
oxyplot
scichart
introduction
nas
conemu
object-detection
clickonce
crosstab
windows-error-reporting
publish
gsmcomm
unboundid
contact-form
google-sites-2016
usbserial
framemaker
rotational-matrices
vxworks
simplexml
scaffold
x11-forwarding
hue
streamreader
pdf-reactor
http-live-streaming
jvm-languages
nomethoderror
websphere-mq-fte
scorm
hibernate-tools
dds
jquery-nestable
theming
worksheet
return-value
powercli
fancybox-2
togetherjs
jxcore
diagnostics
boost-preprocessor
redundancy
watchconnectivity
url-masking
paypal-express
impresspages
storekit
ready-api
pickadate
dataview
nessus
tableau-online
interrupted-exception
operation
ami
angular-local-storage
clicktag
typekit
c3
xc16
coldbox
device-manager
mesa
starcluster
uitouch
funcunit
p4java
dir
dataadapter
itmstransporter
browser-detection
isnullorempty
datawindow
transactionscope
genshi
remember-me
lpeg
filtered-index
database-management
compiler-specific
lzh

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App