Java 类org.apache.camel.catalog.maven.MavenArtifactProvider 实例源码

项目:syndesis    文件:DeploymentDescriptorIT.java   
private static MavenArtifactProvider createArtifactProvider() {
    final DefaultMavenArtifactProvider mavenArtifactProvider = new DefaultMavenArtifactProvider();
    mavenArtifactProvider.setLog(true);

    mavenArtifactProvider.addMavenRepository("maven.central", "https://repo1.maven.org/maven2");
    mavenArtifactProvider.addMavenRepository("redhat.ga", "https://maven.repository.redhat.com/ga");
    mavenArtifactProvider.addMavenRepository("jboss.ea", "https://repository.jboss.org/nexus/content/groups/ea");

    return mavenArtifactProvider;
}
项目:syndesis-rest    文件:DeploymentDescriptorIT.java   
private static MavenArtifactProvider createArtifactProvider() {
    final DefaultMavenArtifactProvider mavenArtifactProvider = new DefaultMavenArtifactProvider();
    mavenArtifactProvider.setLog(true);

    mavenArtifactProvider.addMavenRepository("maven.central", "https://repo1.maven.org/maven2");
    mavenArtifactProvider.addMavenRepository("redhat.ga", "https://maven.repository.redhat.com/ga");
    mavenArtifactProvider.addMavenRepository("jboss.ea", "https://repository.jboss.org/nexus/content/groups/ea");

    return mavenArtifactProvider;
}