You could configure multiple local repositories (one in ~/.m2/repo1
and one in ~/.m2/repo2). But this would be pretty abnormal usage of
Maven.

Why would you possibly want to do this? So long as you don't include
the artifact as a <dependency> in your pom, you won't even know the
Jars are available in your repo. I'm genuinely curious about your use
case.

Wayne

On 3/9/07, Dumitru Taur <[EMAIL PROTECTED]> wrote:
Hi!

I have question regarding repositories in maven2.

Is there any way in maven to make some jars used as dependencies in one
project not visible in other projects?

For example, I have a couple of jars that I use in one project, but I
wouldn't like them to be available as dependencies in other projects.

Thanks.





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

Reply via email to