use of eu.europa.ec.fisheries.schema.mobileterminal.types.v1.Plugin in project sonar-java by SonarSource.
the class PomParserTest method should_retrieve_configurations.
@Test
public void should_retrieve_configurations() throws Exception {
MavenProject project = PomParser.parseXML(SIMPLE_POM_FILE);
List<Plugin> plugins = project.getBuild().getPlugins().getPlugins();
Configuration configuration = plugins.get(0).getExecutions().getExecutions().get(0).getConfiguration();
checkPosition(configuration, 88, 13, 90, 13);
List<Element> values = configuration.getElements();
assertThat(values).hasSize(1);
}
Aggregations