Hi.

A repository is a place for m2 to get artifacts. I doubt if that can be disabled though.

There is, however, "-o" which will disable all remote activities in m2... yes, it disables the retrieval of artifacts from the repository, but also other offlince tasks like scm activities.

The local repository is a cache of the remote repository for used artifacts. I haven't tried specifying the local repo as the remote repo in pom.xml (I'm don't recommend this btw), but I guess that should work if you're sure to have all your artifacts in that repo.


Russell, Mark wrote:

Is it possible to configure a project (pom.xml) to use a repository
located on disk, without the build copying jars from that repository to
the "local" repository in the users profile?



Additionally, can this be done without pointing the pom.xml to the
"local" repository in the users profile.



MAR



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to