本文整理了Java中org.commonjava.aprox.model.core.Group.<init>()
方法的一些代码示例,展示了Group.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Group.<init>()
方法的具体详情如下:
包路径:org.commonjava.aprox.model.core.Group
类名称:Group
方法名:<init>
暂无
代码示例来源:origin: org.commonjava.aprox/aprox-db-flat
@Override
public void install()
throws AproxDataException
{
if ( !manager.getDataFile( APROX_STORE )
.isDirectory() )
{
final ChangeSummary summary = new ChangeSummary( ChangeSummary.SYSTEM_USER, "Initializing defaults" );
storeArtifactStore( new RemoteRepository( "central", "http://repo1.maven.apache.org/maven2/" ), summary,
true, false, new EventMetadata() );
storeArtifactStore( new Group( "public", new StoreKey( StoreType.remote, "central" ) ), summary, true,
false, new EventMetadata() );
}
}
代码示例来源:origin: org.commonjava.aprox/aprox-core
final Group pub = new Group( "public" );
pub.addConstituent( new StoreKey( StoreType.remote, "central" ) );
pub.addConstituent( new StoreKey( StoreType.hosted, "local-deployments" ) );
内容来源于网络,如有侵权,请联系作者删除!