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 BCFF318CC5 for ; Wed, 1 Jul 2015 09:05:04 +0000 (UTC) Received: (qmail 29619 invoked by uid 500); 1 Jul 2015 09:05:04 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 29571 invoked by uid 500); 1 Jul 2015 09:05:04 -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 29561 invoked by uid 99); 1 Jul 2015 09:05:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2015 09:05:04 +0000 Date: Wed, 1 Jul 2015 09:05:04 +0000 (UTC) From: "Oliver B. Fischer (JIRA)" To: notifications@ant.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IVY-1526) PomModuleDescriptorParser should parse licenses from parent POM 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-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14609788#comment-14609788 ] Oliver B. Fischer commented on IVY-1526: ---------------------------------------- This issue has been found while using the sbt license plugin. See https://github.com/sbt/sbt-license-report/issues/7 for further information. > PomModuleDescriptorParser should parse licenses from parent POM > --------------------------------------------------------------- > > Key: IVY-1526 > URL: https://issues.apache.org/jira/browse/IVY-1526 > Project: Ivy > Issue Type: Bug > Reporter: Ben McCann > > PomModuleDescriptorParser Line 167 only uses the license information from the current pom mdBuilder.setLicenses(domReader.getLicenses()); The parent is being parsed, so it should be easy to include info from it. > About half of libraries used in my projects set the license info on their parent pom, so I don't get any license info returned. A few examples from my project include Jackson, Dropwizard Metrics, Amazon AWS SDK, Google Guava, Apache Commons, Lucene, Jetty, Selenium, Slf4j. -- This message was sent by Atlassian JIRA (v6.3.4#6332)