ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green (JIRA)" <>
Subject [jira] Created: (IVY-1173) relativePath to parent ignored in pom.xml file
Date Sun, 28 Feb 2010 10:21:05 GMT
relativePath to parent ignored in pom.xml file

                 Key: IVY-1173
             Project: Ivy
          Issue Type: Bug
          Components: Maven Compatibility
    Affects Versions: 2.1.0
            Reporter: Robin Green
            Priority: Minor

{{PomModuleDescriptorParser}} ignores the {{relativePath}} element, e.g. in


so if the {{parent}} cannot be downloaded from a repository, the parent {{pom.xml}} is ignored
and an {{IOException}} is thrown.

Here is the relevant code:

            ModuleDescriptor parentDescr = null;
            if (domReader.hasParent()) {
                //Is there any other parent properties?
                ModuleRevisionId parentModRevID = ModuleRevisionId.newInstance(
                ResolvedModuleRevision parentModule = parseOtherPom(ivySettings, 
                if (parentModule != null) {
                    parentDescr = parentModule.getDescriptor();
                } else {
                    throw new IOException("Impossible to load parent for " + descriptorURL
+ "."
                       + " Parent=" + parentModRevID);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message