You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wendy Smoak <ws...@gmail.com> on 2009/01/22 14:57:52 UTC

Re: How do I add all the jars in a directory in junit test exeicution classpath

On Wed, Jan 21, 2009 at 3:57 AM, peppinolusuraio <ua...@libero.it> wrote:

> I have created a directory
>
> %M2_REPO%/myNewGroup/myNewArtifacId/
>
> and I have copied all my jar in the lib.
> It does not work.

You need to use the install plugin to put the jars into your local repository.

mvn install:install-file -Dfile=... -DgroupId=... ...

http://maven.apache.org/plugins/maven-install-plugin/usage.html

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org