You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Jesper Pedersen (JIRA)" <ji...@apache.org> on 2010/07/12 18:36:49 UTC

[jira] Updated: (IVY-770) MakePom task handling of mulitple artifacts for Maven2

     [ https://issues.apache.org/jira/browse/IVY-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper Pedersen updated IVY-770:
--------------------------------

    Attachment: IVY-770.patch

I think it would be easier to start with basic support where the artifact is specified as part of the makepom task.

And then exclude the mappings that aren't needed for the artifact in question.

The attached patch implements this JIRA + IVY-1005 , which makes mapping multiple Ivy artifacts to different Maven pom files a lot easier in my view.

> MakePom task handling of mulitple artifacts for Maven2
> ------------------------------------------------------
>
>                 Key: IVY-770
>                 URL: https://issues.apache.org/jira/browse/IVY-770
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Maven Compatibility
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Paul Wardrip
>            Priority: Minor
>         Attachments: apache-ivy-2.0.0-makepom-with-unit-tests.patch, apache-ivy-2.0.0-makepom.patch, IVY-770.patch
>
>
> Maven2 won't create more than one uniquely named artifact for a project, unless you set the packaging to "pom". Then you have a separate pom for each of the artifacts, referencing the project pom with a parent tag. They would get deployed like this:
> /myorg/mymodule/1.0/mymodule-1.0.pom
> /myorg/artifact-core/1.0/artifact-core-1.0.pom
> /myorg/artifact-core/1.0/artifact-core-1.0.jar
> /myorg/artifact-util/1.0/artifact-util-1.0.pom
> /myorg/artifact-util/1.0/artifact-util-1.0.jar
> Resolution: Change MakePom task to build separate poms when it detects multiple uniquely named artifacts.

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