private void checkBomVersion() throws CoreException { IMavenProjectFacade mavenProjectFacade = MavenPlugin.getMavenProjectRegistry().getProject(project); MavenProject mavenProject = mavenProjectFacade.getMavenProject(new NullProgressMonitor()); assertThat(mavenProject.getProperties().getProperty("jboss.fuse.bom.version")) .isEqualTo(CamelModelFactory.getFuseVersionForCamelVersion(camelVersion)); }
private String[] getSupportedCamelVersions() { return CamelModelFactory.getSupportedCamelVersions().stream().sorted().toArray(String[]::new); }
@Parameters(name = "{0}") public static List<String> parameters() { return CamelModelFactory.getSupportedCamelVersions(); }