It's a path to a JAR though :) path should work as well, though.

So the problem is that it is empty. Is this code inside maven.xml or
inside a plugin.jelly?

If it is in plugin.jelly, it should work. If in maven.xml, it won't.
In that case, you need to do something like:
<maven:get plugin="maven-xdoclet-plugin" var="xdocletPlugin"
property="plugin" />
${xdocletPlugin.getDependencyPath('...')}

HTH,
Brett

On Wed, 15 Dec 2004 19:34:44 -0500, David Smiley <[EMAIL PROTECTED]> wrote:
> No, "path" is for paths (potentially multiple jar files), "location" is
> for specifying an individual jar file.
> 
> <echo message="${plugin.getDependencyPath('commons-collections')}"/>
> Output nothing at all.  I used 'commons-collections' because xdoclet's
> plugin.jelly file used that value and it should work.
> 
> ~ Dave
> 
> Brett Porter wrote:
> > I think "path" should be "location" in the part using getDependencyPath?
> >
> > You can echo out the results of getDependencyPath to ensure you are
> > getting what you expected.
> >
> > - Brett
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to