[
https://issues.apache.org/jira/browse/IVY-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938943#comment-17938943
]
Eric Milles commented on IVY-1653:
----------------------------------
Thank you for the quick response. Are you planning on starting this work? If
so, I'd ask that all elements be output so you don't need to build a bunch of
conditional logic up front. I can look more deeply into what is and is not
supported by Maven's {{dependencyManagement}} and report back.
> 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
> Priority: Major
>
> 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)