@Override
public void install()
throws IndyDataException
{
if ( !manager.getDataFile( INDY_STORE )
.isDirectory() )
{
final ChangeSummary summary = new ChangeSummary( ChangeSummary.SYSTEM_USER, "Initializing defaults" );
storeArtifactStore(
new RemoteRepository( MAVEN_PKG_KEY, "central", "http://repo.maven.apache.org/maven2/" ), summary,
true, false, new EventMetadata() );
storeArtifactStore( new Group( MAVEN_PKG_KEY, "public", new StoreKey( StoreType.remote, "central" ) ),
summary, true, false, new EventMetadata() );
}
}