Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9ACA318CCB for ; Sat, 17 Oct 2015 12:00:08 +0000 (UTC) Received: (qmail 70020 invoked by uid 500); 17 Oct 2015 12:00:08 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 69497 invoked by uid 500); 17 Oct 2015 12:00:08 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 69404 invoked by uid 99); 17 Oct 2015 12:00:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Oct 2015 12:00:08 +0000 Date: Sat, 17 Oct 2015 12:00:08 +0000 (UTC) From: "Wouter van Reeven (JIRA)" To: notifications@ant.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (IVY-1536) How to make sure dependencies are added to a pom.xml file with the makepom target MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVY-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14961866#comment-14961866 ] Wouter van Reeven edited comment on IVY-1536 at 10/17/15 11:59 AM: ------------------------------------------------------------------- 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 {code:xml} {code} was (Author: wvreeven): 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} {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)