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]

Reply via email to