great,  that's exactly what I want,

thanks
Jeff

Jefferson K. French wrote:

Yes, try this:

  <maven:pom var="otherPom" projectDescriptor="${pathToPom}"/>

Then just access the elements like ${otherPom.groupId}. You'll need
this:

  xmlns:maven="jelly:maven"

in your <project> tag.

  Jeff

On Wed, 08 Sep 2004, at 16:08:14 [GMT +0800] Nathan Coast wrote:


Hi,


I'd like to be able to query pom elements of other projects. Is
there any way to load a pom in the repo into a variable? in the same
way that the current project's properties are available from
pom.fooBar


Specifically for plugins I want to be able to access things like
groupId, artifactId and version.


cheers
Nathan



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to