Hi Maven devs, I think there's a need to allow specifying when some artifacts are only to be looked for in the local repository. For example, in a multiproject the local repository is used to share private artifacts between the subprojects. These private artifacts are not meant to be uploaded to a Maven remote repo.
Currently, Maven tries to download them every time and the timeout (about 3 seconds for me) is a pain and is not normal. For example, this is what we get: +---------------------------------------- | Executing cargo:dist Cargo Sample for Ant | Memory: 8M/10M +---------------------------------------- Tentative de tΘlΘchargement de cargo-ant-0.4-SNAPSHOT.jar. Artifact /cargo/jars/cargo-ant-0.4-SNAPSHOT.jar doesn't exists in remote repository, but it exists locally Tentative de tΘlΘchargement de cargo-sample-java-0.4-SNAPSHOT.jar. Artifact /cargo/jars/cargo-sample-java-0.4-SNAPSHOT.jar doesn't exists in remote repository, but it exists locally Tentative de tΘlΘchargement de cargo-core-0.4-SNAPSHOT.jar. Artifact /cargo/jars/cargo-core-0.4-SNAPSHOT.jar doesn't exists in remote repository, but it exists locally One possible solution (backward compatible) would be to add a <local>true|false</local> (defaults to false) element to the <dependency> element. Would this be acceptable for CVS HEAD of m1? Is there something planned along these lines for m2? Thanks -Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
