<managedRepository>
<id>internal</id>
<name>Archiva Managed Internal Repository</name>
- <location>${appserver.base}/data/repositories/internal</location>
- <indexDir>${appserver.base}/data/repositories/internal/.indexer</indexDir>
+ <location>${appserver.base}/repositories/internal</location>
+ <indexDir>${appserver.base}/repositories/internal/.indexer</indexDir>
<layout>default</layout>
<releases>true</releases>
<snapshots>false</snapshots>
<managedRepository>
<id>snapshots</id>
<name>Archiva Managed Snapshot Repository</name>
- <location>${appserver.base}/data/repositories/snapshots</location>
- <indexDir>${appserver.base}/data/repositories/snapshots/.indexer</indexDir>
+ <location>${appserver.base}/repositories/snapshots</location>
+ <indexDir>${appserver.base}/repositories/snapshots/.indexer</indexDir>
<layout>default</layout>
<releases>false</releases>
<snapshots>true</snapshots>
if ( !file.isAbsolute() )
{
// add appserver.base/repositories
- file = new File(
- getRegistry().getString( "appserver.base" ) + File.separatorChar + "data" + File.separatorChar
- + "repositories", repository.getLocation() );
+ file = new File( getRegistry().getString( "appserver.base" ) + File.separatorChar + "repositories",
+ repository.getLocation() );
}
repository.setLocation( file.getCanonicalPath() );
if ( !file.exists() )
if ( !repositoryDirectory.isAbsolute() )
{
- repositoryDirectory = new File(
- getRegistry().getString( "appserver.base" ) + File.separatorChar + "data" + File.separatorChar
- + "repositories", repository.getLocation() );
+ repositoryDirectory =
+ new File( getRegistry().getString( "appserver.base" ) + File.separatorChar + "repositories",
+ repository.getLocation() );
}
if ( !repositoryDirectory.exists() )