You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2010/12/13 13:22:26 UTC

Is there a builtin alternative to a plugin that chases parents?

The other day, I cooked up a plugin as follows:

As input, it takes a groupid, an artifactid, and a property name.

It works its way up the chain of parents, and when it finds a match,
it returns the basedir. Obviously, if one of the parents is coming
from the repo instead of a relative path, it's not going to return
something useful.

A remark on the dev list suggests that I've duplicated built-in
functionality, but I can't find it by a bit of googling. Have I missed
some way to evaluate expressions with respect to parents?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org