Can you define a series of dependencies that have <scope>test</scope>? That
would be ideal, since it'll use Maven's artifact resolution code to retrieve
and manage them for you.
HTH,
-john
On 5/22/06, hamdard <[EMAIL PROTECTED]> wrote:
Hi
I have a similar issue where I want to add a jar to the test classpath,
before running the tests.
The jar is generated dynamically (at runtime), so I can't make a static
declaration in the pom.
I need to do something like:
<testResources>
<testResource>
<directory>lib/</directory>
<includes>
<include>*.jar</include>
</includes>
</testResource>
</testResources>
But it doesn't work when I try.
Thanks
--
View this message in context:
http://www.nabble.com/-m2-How+to+get+files+into+test+classpath--t987507.html#a4512885
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]