Eric Milles created IVY-1658:
--------------------------------

             Summary: ivy:deliver does not include xml namespace from extended 
ivy module
                 Key: IVY-1658
                 URL: https://issues.apache.org/jira/browse/IVY-1658
             Project: Ivy
          Issue Type: Bug
          Components: Ant
            Reporter: Eric Milles


Given two modules with an extends relationship:
{code:xml}
<ivy-module
  version="2.0"
  xmlns:m="http://ant.apache.org/ivy/maven";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd";>
    <info module="One" organisation="xxx" />
    <configurations>
        <conf name="master" />
    </configurations>
    <dependencies defaultconf="master" defaultconfmapping="*->master,runtime()">
        <dependency org="abc" name="def" rev="1.2.3">
          <artifact name="def" m:classifier="ghi" />
        </dependency>
    </dependencies>
</ivy-module>
{code}

{code:xml}
<ivy-module
  version="2.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd";>
    <info module="Two" organisation="xxx">
        <extends module="One" organisation="xxx"
          extendType="configurations,dependencies" location="../One/ivy.xml" 
revision="latest" />
    </info>
    <dependencies defaultconf="master" defaultconfmapping="*->master,runtime()">
    </dependencies>
</ivy-module>
{code}

The delivered result includes the dependency from the parent module, but the 
classifier namespace cannot be resolved when the file is parsed by a subsequent 
task like ivy:makepom.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to