Repositories are set up on the end of the WEB-INF/applicationContext.xml file.
<!-- Repositories where to find resources --> <bean id="repositories" class="net.krecan.m2_proxy.repository.RepositoryCollection"> <property name="repositories"> <list> <!-- List of repositories --> <!-- Attention: URL has to end with "/" --> <bean parent="abstractRemoteRepository"> <property name="baseUrl" value="http://www.ibiblio.org/maven2/"/> </bean> <bean parent="abstractRemoteRepository"> <property name="baseUrl" value="http://mirrors.sunsite.dk/maven2/"/> </bean> <bean parent="abstractRemoteRepository"> <property name="baseUrl" value="http://snapshots.maven.codehaus.org/maven2/"/> </bean> </list> </property> </bean>
Here you can add aditional path to Maven repositories or remove snapshots repository, if needed.