use of io.syndesis.common.util.MavenProperties in project syndesis by syndesisio.
the class ProjectGeneratorTest method getMavenProperties.
protected MavenProperties getMavenProperties() {
MavenProperties mavenProperties = new MavenProperties();
mavenProperties.addRepository("maven.central", "https://repo1.maven.org/maven2");
mavenProperties.addRepository("redhat.ga", "https://maven.repository.redhat.com/ga");
mavenProperties.addRepository("jboss.ea", "https://repository.jboss.org/nexus/content/groups/ea");
return mavenProperties;
}
use of io.syndesis.common.util.MavenProperties in project syndesis by syndesisio.
the class ConnectorTestSupport method useOverridePropertiesWithPropertiesComponent.
@Override
protected Properties useOverridePropertiesWithPropertiesComponent() {
try {
ProjectGeneratorConfiguration configuration = new ProjectGeneratorConfiguration();
ProjectGenerator projectGenerator = new ProjectGenerator(configuration, new ResourceManager(), new MavenProperties());
return projectGenerator.generateApplicationProperties(newIntegration());
} catch (IOException e) {
Assertions.fail("Unable to generate integration properties", e);
}
return null;
}
Aggregations