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 nested properties ${${}}
How do I add javadocs for restlet using Maven?
Create a native javafx app with Inno Setup and maven
License-Maven-Plugin equivalent in ant
What is the purpose of providing a downloaded pom.xml on mvnrepository.com
Install Jetty After Tomcat installed
Grails: how to use maven repo instead of ivy-cache
Manifest.mf cannot find org.junit
Is there a way to see which artifacts in Central depend on a given artifact?
pom.xml in every directory or skip intermediate?
How to exclude INDEX.LIST from maven generated jar-with-dependencies?
Building a fat jar using maven
Maven fails to find Jive archetypes from repository when building initial jive project
Can maven parent project include a module at same directory level
Does Jenkins/Hudson require maven-surefire-plugin to publish test results?
Class not found CallableProcessingInterceptor: migrated to 3.1.4

Categories

HOME
ibm-bluemix
compiler-construction
image
jdo
amazon-ec2
server
mockito
iterator
session
grep
mean-stack
read-eval-print-loop
filtering
gps
windows-server
constraint-programming
podio
pheatmap
cross-validation
orchardcms
windows-server-2012
hapi
seaborn
excel-vba-mac
nodatime
riot.js
devops
format-specifiers
icloud-api
user-interaction
tooltipster
greendao
minitab
primitive
madlib
nouislider
bcd
.net-4.0
siesta-swift
webtest
caret
wallpaper
atl
host
git-merge
jquery-bootgrid
x11-forwarding
mixture-model
unspecified
impersonation
broadcastreceiver
optix
texmaker
botbuilder
checkboxlist
angular2-meteor
user-accounts
taffy
youcompleteme
jedis
sage-one
lowpass-filter
setter
media-player
sybase-asa
namecoin
akka-cluster
titanium-android
wdf
instant
infix-notation
fody
ctest
lttng
markojs
sdf
dlna
apachebench
phpcas
freelancer.com-api
javax.sound.midi
msys
simple-framework
feedback
libressl
jqgrid-formatter
tarjans-algorithm
0xdbe
cakephp-3.1
microbenchmark
census
graph-api-explorer
npapi
dia
asp.net-web-api-odata
has-many-through
navigationservice
dealloc
fmod
terminal-services
web2py-modules
ftps
dotnetnuke-5
ora-00911
android-hardware
free-variable
venn-diagram
newtonscript
qtkit
qt-jambi
doh
zpt
xmlspy
tomcat-valve
android-sdk-2.1
.nettiers
revisions
bespin
javap
privilege
noscript
paul-graham

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App