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 877CED7BE for ; Fri, 19 Oct 2012 12:52:16 +0000 (UTC) Received: (qmail 45484 invoked by uid 500); 19 Oct 2012 12:52:16 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 44403 invoked by uid 500); 19 Oct 2012 12:52:13 -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 44083 invoked by uid 99); 19 Oct 2012 12:52:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2012 12:52:12 +0000 Date: Fri, 19 Oct 2012 12:52:12 +0000 (UTC) From: "Thomas Kurpick (JIRA)" To: notifications@ant.apache.org Message-ID: <1178559804.619.1350651132297.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (IVY-1383) Documentation and Implementation mismatch of makepom MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Thomas Kurpick created IVY-1383: ----------------------------------- Summary: Documentation and Implementation mismatch of makepom Key: IVY-1383 URL: https://issues.apache.org/jira/browse/IVY-1383 Project: Ivy Issue Type: Bug Components: Documentation Affects Versions: 2.3.0-RC1 Environment: All Reporter: Thomas Kurpick Priority: Minor The documentation of the makepom task is not consistent with the implementation. Documentation: ||Attribute||Description||Required|| |...|...|...| |artifactPackaging|The packaging of the artifact which is represented by the generated pom file. (since 2.2)|No, the artifact {color:red}ext{color} is taken by default. Defaults to 'pom' if no such artifact is defined.| |...|...|...| Implementation: {code:title=PomModuleDescriptorWriter.java} ... String packaging = options.getArtifactPackaging(); if (packaging == null) { // find artifact to determine the packaging Artifact artifact = findArtifact(md, artifactId); if (artifact == null) { // no suitable artifact found, default to 'pom' packaging = "pom"; } else { packaging = artifact.getType(); ^^^^^^^^^^^^^^^^^^ } } ... {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira