Add a task/code to create M2 POM files from Ivy configurations
--------------------------------------------------------------
Key: IVY-416
URL: https://issues.apache.org/jira/browse/IVY-416
Project: Ivy
Issue Type: New Feature
Reporter: Steve Loughran
>From the ivy-user mail list; need a way to create POM files from the ivy
>configuration.
Proposed: let people declare what ivy confs
<ivy:makepom file="build/m2.pom">
<scope name="compile" conf="build,java5" />
<scope name="optional" conf="java6,java4-scripting" />
</ivy:makepom>
One funny is that maven has a different eviction policy from Ivy (closest
declaration to the root of the graph wins; conflict at the same depth is an
error). We
may want to avoid transitive dependency mismatch by explicitly listing the
complete resolved graph in the POM, as resolved by Ivy rather than
Maven. That way, recipients get what we declared, with the right to > override
it by declaring stuff closer, in their own POMs. Maybe that
would be a switch
<ivy:makepom file="build/m2.pom" resolve="true">
<scope name="compile" conf="build,java5" />
<scope name="optional" conf="java6,java4-scripting" />
</ivy:makepom>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.