How to use a jar as test resource

2009-11-27 Thread TorstenKarusseit
I have a unit test which uses a external jar. This jar is executed in a separate vm by the unit test. In eclipse I've to manually build and export the jar into a defined location. Then the unit test with hard-coding this location starts a separate vm and performs it's tests. Now, how to do that wi

Re: How do I prevent maven from searching my own artifacts in public repositories ?

2009-11-20 Thread TorstenKarusseit
Hi all, thank you very mutch. I think Anders is right saying to use a repo manager, wich has to filter the artifact request if it matchs a predefined pattern of my project. Do anyone of you have experience with such a manager ? Nexus or Archiva ? Torsten

How do I prevent maven from searching my own artifacts in public repositories ?

2009-11-19 Thread TorstenKarusseit
Hi, may be a simple question: How do I prevent maven from searching my own artifacts in public repositories ? While I playing around with my pom files there are often situations where maven uselessly disturbs externel maven repositories. Which I want to prevent if possible. Thank you. ---