assertEquals(ModuleRevisionId.newInstance("org.apache", "test-version-other", "5.76"), dds[0]
.getDependencyRevisionId());//present in the pom using a property defined in the parent
}
public void testOverrideParentProperties() throws ParseException, IOException {
settings.setDictatorResolver(new MockResolver() {
public ResolvedModuleRevision getDependency(DependencyDescriptor dd, ResolveData data) throws ParseException {
try {
ModuleDescriptor moduleDescriptor = PomModuleDescriptorParser.getInstance().parseDescriptor(
settings, getClass().getResource("test-version.pom"), false);
return new ResolvedModuleRevision(null,null,moduleDescriptor,null);