Eric Milles created IVY-1653:
--------------------------------

             Summary: makepom does nothing with top-level exclude and override 
elements
                 Key: IVY-1653
                 URL: https://issues.apache.org/jira/browse/IVY-1653
             Project: Ivy
          Issue Type: Improvement
            Reporter: Eric Milles


Given an {{ivy.xml}} like this:
{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="Name" organisation="org" />
    <configurations>
        <conf name="master" />
    </configurations>
    <dependencies defaultconf="master" defaultconfmapping="*->master,runtime()">
        <dependency org="org.apache.logging.log4j" name="log4j-core" 
rev="2.24.3" />
        <dependency org="org.apache.logging.log4j" name="log4j-1.2-api" 
rev="2.24.3" />

        <override org="org.apache.logging.log4j" rev="2.24.3" />
    </dependencies>

</ivy-module>
{code}

After running the {{ivy:makepom}} task via ant, the pom contains {{dependency}} 
elements for the 2 log4j dependencies, but nothing to represent the 
{{override}} -- same for an {{exclude}}.

Is it possible to represent global {{override}} elements within the 
{{dependencyManagement}} section of the maven metadata?



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

Reply via email to