mirror of https://github.com/apache/maven.git
o Fixed prerequisite processing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1229d17047
commit
16fa8c1dbd
|
@ -171,12 +171,13 @@ public class ProcessorContext
|
|||
}
|
||||
|
||||
List<Processor> processors =
|
||||
Arrays.<Processor> asList( new BuildProcessor( new ArrayList<Processor>() ),
|
||||
new ModuleProcessor(), new PropertiesProcessor(), new ParentProcessor(),
|
||||
new OrganizationProcessor(), new MailingListProcessor(), new IssueManagementProcessor(),
|
||||
new CiManagementProcessor(), new ReportingProcessor(), new RepositoriesProcessor(),
|
||||
new DistributionManagementProcessor(), new LicensesProcessor(), new ScmProcessor());
|
||||
Model target = processModelsForInheritance(convertDomainModelsToMavenModels(domainModels), processors, true);
|
||||
Arrays.<Processor> asList( new BuildProcessor( new ArrayList<Processor>() ), new ModuleProcessor(),
|
||||
new PropertiesProcessor(), new ParentProcessor(), new OrganizationProcessor(),
|
||||
new MailingListProcessor(), new IssueManagementProcessor(),
|
||||
new CiManagementProcessor(), new ReportingProcessor(),
|
||||
new RepositoriesProcessor(), new DistributionManagementProcessor(),
|
||||
new LicensesProcessor(), new ScmProcessor(), new PrerequisitesProcessor() );
|
||||
Model target = processModelsForInheritance( convertDomainModelsToMavenModels( domainModels ), processors, true );
|
||||
|
||||
PomClassicDomainModel model = convertToDomainModel( target, false );
|
||||
interpolateModelProperties( model.getModelProperties(), interpolationProperties, child );
|
||||
|
|
|
@ -1006,9 +1006,7 @@ public class PomConstructionTest
|
|||
assertEquals( 1, ( (List<?>) pom.getValue( "mailingLists[1]/otherArchives" ) ).size() );
|
||||
assertEquals( "other-archive", pom.getValue( "mailingLists[1]/otherArchives[1]" ) );
|
||||
|
||||
/* FIXME
|
||||
assertEquals( "2.0.1", pom.getValue( "prerequisites/maven" ) );
|
||||
//*/
|
||||
|
||||
assertEquals( "http://project.url/trunk", pom.getValue( "scm/url" ) );
|
||||
assertEquals( "http://project.url/scm", pom.getValue( "scm/connection" ) );
|
||||
|
|
Loading…
Reference in New Issue