My project uses a small hierarchy of parent poms. I believe it would be a good
idea to set my Sonar connection settings in the top parent pom, instead of
telling all the users to add a certain set of settings to their
~/.m2/settings.xml. In addition, we're using the sonar.secretKeyPath
Hi David,
My problem is that I can't figure out how to set a path property that is
relative to the top parent
A solution I have used is to define a ${project.rootdir} property; see:
http://stackoverflow.com/a/8848129
https://github.com/imagej/imagej/commit/d171f290
Or you could try
I really need a statically-defined property that references ${basedir}, so
when child poms reference it, it doesn't evaluate it dynamically.
I think the right solution to this class of problems utilizes the
remote-resources plugin or dependency:unpack instead of the approach
you are currently
-Original Message-
From: KARR, DAVID
Sent: Friday, January 25, 2013 10:31 AM
To: Maven Users List
Subject: store file in top parent pom, along with property pointing to it,
and ref that property in child poms
My project uses a small hierarchy of parent poms. I believe it would be