@Override protected Properties useOverridePropertiesWithPropertiesComponent() { try { ProjectGeneratorConfiguration configuration = new ProjectGeneratorConfiguration(); ProjectGenerator projectGenerator = new ProjectGenerator(configuration, new ResourceManager()); return projectGenerator.generateApplicationProperties(newIntegration()); } catch (IOException e) { Assertions.fail("Unable to generate integration properties", e); } return null; }
@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; }
.build(); ProjectGeneratorConfiguration configuration = new ProjectGeneratorConfiguration(); configuration.getTemplates().setOverridePath(this.basePath); configuration.getTemplates().getAdditionalResources().addAll(this.additionalResources);
); ProjectGeneratorConfiguration configuration = new ProjectGeneratorConfiguration(); configuration.getTemplates().setOverridePath(this.basePath); configuration.getTemplates().getAdditionalResources().addAll(this.additionalResources);
); ProjectGeneratorConfiguration configuration = new ProjectGeneratorConfiguration(); configuration.getMavenProperties().addRepository("maven.central", "https://repo1.maven.org/maven2"); configuration.getMavenProperties().addRepository("redhat.ga", "https://maven.repository.redhat.com/ga");
ProjectGeneratorConfiguration configuration = new ProjectGeneratorConfiguration(); ProjectGenerator generator = new ProjectGenerator(configuration, resourceManager, TestConstants.MAVEN_PROPERTIES); Integration integration = new Integration.Builder()