git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@568957
13f79535-47bb-0310-9956-
ffa450edef68
r.setLocation( r.getUrl().substring( 7 ) );
config.addManagedRepository( r );
}
+ else if ( r.getUrl().startsWith( "file:" ) )
+ {
+ r.setLocation( r.getUrl().substring( 5 ) );
+ config.addManagedRepository( r );
+ }
else
{
RemoteRepositoryConfiguration repo = new RemoteRepositoryConfiguration();
<repository>
<id>snapshots</id>
<name>Archiva Managed Snapshot Repository</name>
- <url>file://${appserver.base}/repositories/internal</url>
+ <url>file:${appserver.base}/repositories/snapshots</url>
<layout>default</layout>
<releases>false</releases>
<snapshots>true</snapshots>