On 4/5/07, David Jackman <[EMAIL PROTECTED]> wrote:
I'm trying to do almost exactly the same thing (different agent jar, though). Rather than trying to have the agent point to the repo, I used the dependency plugin to copy the jar from the repository to a location under the build directory, then reference it there.
That's the idea! Thanks for sharing it...so lightning fast.
That much is working okay. What isn't working now is the fact that my java agent has dependencies of its own that aren't in the surefire classpath. Wayne gave me something to try to get around this problem.
Why doesn't declaring a dependency on the agent work? The deps should be managed by m2 and should be passed to surefire-plugin and be on the classpath.
I'll keep you posted on whether I'm able to get it all working. Please do the same for me if you're able to get it working on your end.
Definitely. Thanks again for the tip. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
