ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wouter van Reeven (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IVY-1536) How to make sure dependencies are added to a pom.xml file with the makepom target
Date Sat, 17 Oct 2015 12:00:08 GMT

    [ https://issues.apache.org/jira/browse/IVY-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14961866#comment-14961866
] 

Wouter van Reeven commented on IVY-1536:
----------------------------------------

I traced back the problem to a section in my ivy.xml that apparently is incorrect. When I
remove it, the generation of the pom.xml file goes ok. FYI the section is

{xml}
    <configurations defaultconfmapping="compile->default">
        <conf name="compile" description="For compiling code" />
        <conf name="runtime" description="Additional libs for running code" />
        <conf name="ext" description="External libs" />
    </configurations>
{xml}

> How to make sure dependencies are added to a pom.xml file with the makepom target
> ---------------------------------------------------------------------------------
>
>                 Key: IVY-1536
>                 URL: https://issues.apache.org/jira/browse/IVY-1536
>             Project: Ivy
>          Issue Type: Question
>          Components: Documentation
>    Affects Versions: 2.4.0
>         Environment: Java 8, MacOSX
>            Reporter: Wouter van Reeven
>
> When I call the makepom target without the templateFile parameter, the dependencies declared
in ivy.xml get added to the pom.xml file. However, as soon as I start using a template, they
no longer get added. I read that the dependencies in the ivy.xml file automatically get added
if no dependencies element is present, or they get added to an existing dependencies element
in the template. But neither seems to work. I'll add my template to this issue. 
> Can you please help me to get this working? Many thanks in advance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message