mirror of https://github.com/apache/maven.git
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:
parent
5aacdad52f
commit
2b93fb8cc7
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue