String localRepo = null; File settingsFile = new File( System.getProperty( "user.home" ), ".m2/settings.xml" ); if ( settingsFile.exists() ) { Settings settings = new SettingsXpp3Reader().read( new FileReader( settingsFile ) ); localRepo = settings.getLocalRepository(); }  if ( localRepo == null ) { localRepo = System.getProperty( "user.home" ) + "/.m2/repository"; }  ArtifactRepositoryLayout repositoryLayout = (ArtifactRepositoryLayout) container.lookup( ArtifactRepositoryLayout.ROLE, "default" );  localRepository = new DefaultArtifactRepository( "local", "file:
    public void setUp()        throws Exception    {        super.setUp();        setCompilerDebug( true );        setCompilerDeprecationWarnings( true );    }