On Thursday 01 August 2002 1:25 am, you wrote:
> On Thu, 2002-08-01 at 12:12, Bill Petheram wrote:
> > Hey guys How can I access individual dependency jars from a target?
> >
> > So if I have three dependencies a-1.0.jar, b-2.1.jar, c-3.2.jar. I want
> > to reference c3.2.jar in a target, so that if the version number changes
> > in the project.xml file the target will pick up the new version
> > automatically.
> >
> > Surely if each depenency has an id I should be able to use that somehow?
>
> What is your use case? Will using the ${maven.dependency.classpath} not
> work for you?
>
> It would be easy enough to add something like ${pom.getDependency(id)}
> just curious what your specific use is.
>
Yes this is what I want to do. In this particular case I am using obfuscation
and I need to refer to a particular dependant jar file in the obfucation
config file. I don't know how to set a property to a filtered classpath.
${pom.getDependency(id)} sounds good to me. Maybe you should allow access to
each tag this way like ${pom.getDependency(id).jar}.
thanks
bill
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>