1. Yes: in your home dir, create a build.properties file contains the following: maven.home.local=/path/to/what/ever/repository/directory
But AFAIK, maven does not implements file locking or FS transaction. So you can have problem if 2 users need to download the same file.
Furthermore I tested a network configuration before but this can be dramatically slow each time you compile. It is better to have 2 repositories: one common on a server (like the ibibilio one) and an other on a local drive to speed up the compilation.
see: http://maven.apache.org/reference/user-guide.html#Using%20Multiple%20Remote%20Repositories
2. I think this should be possible.
HTH, Didier
Matt Raible wrote:
I downloaded and built Maven yesterday. No issues there - I was up and
running and have been using it every since. I've been using the default
local repository (~/${user.home}/.maven/repository), but now I want to
specify a network drive (\\server\share\repository).
However I'm getting the lovely error:
Artifact '\\server\share\repository\velocity\jars\velocity-1.4-dev.jar' not found to add to classpath java.lang.ClassNotFoundException: velocity at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
I've tried doing a mapped drive and a UNC path, but neither works. So my questions:
1. Is it possible to use a file share for a local repository (so developers can share).
2. If not, is it possible to use an FTP server?
Thanks,
Matt
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
