Apologies if this has been answered before but I couldn't see the answer in
the mail archives
If in my maven.xml I have some sort of goal that needs to do this:
<goal name="foo">
<java fork="true" classname="com.foo.bar"
classpath="XXX/lib-a-1.0.jar;XXX/lib-b-1.0.jar;...">
<arg line="-W -p com.xxx "/>
</java>
</goal>
Now that list of jars in the classpath looks like a prime candidate for
referencing via the repository and some sort of dependency declarations in
the POM. But I can't figure out what to use. I tried
${maven.dependency.classpath} which seemed a likely choice, but that doesn't
seem right - if I echo out the value of that it's blank. So either I'm
using the wrong property or I've not set up the dependencies quite right
Can somebody enlighten me?
thanks in advance
James
------------------------------------------------------------------------
For more information about Barclays Capital, please
visit our web site at http://www.barcap.com.
Internet communications are not secure and therefore the Barclays
Group does not accept legal responsibility for the contents of this
message. Although the Barclays Group operates anti-virus programmes,
it does not accept responsibility for any damage whatsoever that is
caused by viruses being passed. Any views or opinions presented are
solely those of the author and do not necessarily represent those of the
Barclays Group. Replies to this email may be monitored by the Barclays
Group for operational or business reasons.
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]