How do I prevent Maven 2 from searching remote repositories for specific local depedencies?
问题 How do I prevent Maven 2 from searching remote repositories for specific dependencies that are in the local repository only? 回答1: How do I prevent Maven 2 from searching remote repositories for specific depedencies that are in the local repository only Well, actually, Maven won't unless: they are SNAPSHOT dependencies in which case this is the expected behavior. they are missing a .pom file in which case you can provide it or generate it (see questions below). Related questions How do I stop