snapshot repo separation for mboot

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226761 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-08-01 08:23:33 +00:00
parent 5aacdad52f
commit 2b93fb8cc7
1 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ public class MBoot
online = false; online = false;
} }
Repository localRepository = new Repository( "local", mavenRepoLocal, Repository.LAYOUT_DEFAULT ); Repository localRepository = new Repository( "local", mavenRepoLocal, Repository.LAYOUT_DEFAULT, false, false );
if ( online ) if ( online )
{ {
@ -267,7 +267,7 @@ public class MBoot
Mirror m = (Mirror) j.next(); Mirror m = (Mirror) j.next();
if ( m.getMirrorOf().equals( repo.getId() ) ) if ( m.getMirrorOf().equals( repo.getId() ) )
{ {
newRemoteRepos.add( new Repository( m.getId(), m.getUrl(), repo.getLayout() ) ); newRemoteRepos.add( new Repository( m.getId(), m.getUrl(), repo.getLayout(), repo.isSnapshots(), repo.isReleases() ) );
foundMirror = true; foundMirror = true;
} }
} }