mirror of https://github.com/apache/maven.git
Reverted back changes for MNG-3821. Broke bootstrap.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728871 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
222c25a73b
commit
f39ec410da
|
@ -37,10 +37,9 @@ public class IdModelContainerFactory
|
|||
private static final Collection<String> uris = Collections.unmodifiableList( Arrays.asList(
|
||||
ProjectUri.PluginRepositories.PluginRepository.xUri,
|
||||
ProjectUri.Repositories.Repository.xUri,
|
||||
// ProjectUri.Reporting.Plugins.Plugin.ReportSets.ReportSet.xUri,
|
||||
ProjectUri.Profiles.Profile.xUri
|
||||
// ProjectUri.Build.Plugins.Plugin.Executions.Execution.xUri
|
||||
) );
|
||||
ProjectUri.Reporting.Plugins.Plugin.ReportSets.ReportSet.xUri,
|
||||
ProjectUri.Profiles.Profile.xUri,
|
||||
ProjectUri.Build.Plugins.Plugin.Executions.Execution.xUri ) );
|
||||
|
||||
public Collection<String> getUris()
|
||||
{
|
||||
|
|
|
@ -212,11 +212,11 @@ public class PomTransformer
|
|||
{
|
||||
ModelDataSource pluginDatasource = new DefaultModelDataSource();
|
||||
pluginDatasource.init( pluginContainer.getProperties(), Arrays.asList( new ArtifactModelContainerFactory(),
|
||||
new PluginExecutionIdModelContainerFactory() ) );
|
||||
new IdModelContainerFactory() ) );
|
||||
|
||||
ModelDataSource managementDatasource = new DefaultModelDataSource();
|
||||
managementDatasource.init( managementContainer.getProperties(), Arrays.asList( new ArtifactModelContainerFactory(),
|
||||
new PluginExecutionIdModelContainerFactory() ) );
|
||||
new IdModelContainerFactory() ) );
|
||||
|
||||
List<ModelContainer> managementExecutionContainers = managementDatasource.queryFor(ProjectUri.Build.Plugins.Plugin.Executions.Execution.xUri);
|
||||
List<ModelProperty> managementPropertiesWithoutExecutions = new ArrayList<ModelProperty>(managementContainer.getProperties());
|
||||
|
|
|
@ -83,7 +83,7 @@ public class PomConstructionTest
|
|||
assertEquals( "maven-it-plugin-b", pom.getValue( "build/plugins[2]/artifactId" ) );
|
||||
assertEquals( 1, ( (List<?>) pom.getValue( "build/plugins[1]/dependencies" ) ).size() );
|
||||
}
|
||||
|
||||
/*
|
||||
public void testErroneousJoiningOfDifferentPluginsWithEqualExecutionIds()
|
||||
throws Exception
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ public class PomConstructionTest
|
|||
assertEquals( "maven-it-plugin-b", pom.getValue( "reporting/plugins[2]/artifactId" ) );
|
||||
assertEquals( 1, ( (List<?>) pom.getValue( "reporting/plugins[1]/reportSets" ) ).size() );
|
||||
}
|
||||
|
||||
*/
|
||||
/* FIXME: cf. MNG-3886
|
||||
public void testOrderOfGoalsFromPluginExecutionWithoutPluginManagement()
|
||||
throws Exception
|
||||
|
|
Loading…
Reference in New Issue