Return-Path: X-Original-To: apmail-ant-ivy-user-archive@www.apache.org Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E59B811E45 for ; Fri, 23 May 2014 18:17:41 +0000 (UTC) Received: (qmail 67339 invoked by uid 500); 23 May 2014 18:17:41 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 67303 invoked by uid 500); 23 May 2014 18:17:41 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 67295 invoked by uid 99); 23 May 2014 18:17:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2014 18:17:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kirby.files@masergy.com designates 209.85.220.181 as permitted sender) Received: from [209.85.220.181] (HELO mail-vc0-f181.google.com) (209.85.220.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2014 18:17:38 +0000 Received: by mail-vc0-f181.google.com with SMTP id hy4so3284550vcb.26 for ; Fri, 23 May 2014 11:17:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=uRNk19Gxw28lZqY6rvif1KuW1uXbt8S4Q/9yYfL0aGs=; b=bpFsy780hG+HlPMJGi+0uwQ7rT4DWMiP5paS032XbD0YQFIy8un2Bfmm/tWeBc2S2r YoNvUlqxNsF+4zkzfQJZx+nRPV4zZnDkmHSRjAzRNJ12IcXjb76NIcrXGQGyNwWtIPEP qLh0XFZ38s13LvqxZM8WwjfQj4S9/iVJbhtF4L5FdCg9bWujiXqiQZDvB2bbjjxezMLg QHcGyLa98Jljk+AkLu3IOl+wekAErfgf9BybVT8kGl1sH8Xt2/Y2b1thYnhR2kcmD2to cFJA2w17Rz/++WuXgLgNYVwSrP9Z7AIhSlYxFuTKhCBnprRj+zmS1SbCv+f0/qBM4tpU Lg/Q== X-Gm-Message-State: ALoCoQktXhIJtTIRpKdCTIOtaxoStgqZyPMao/2lJ8tFArJc5/2zhPWUnbfPCZkGxfr8ZVtS8KjF MIME-Version: 1.0 X-Received: by 10.58.169.97 with SMTP id ad1mr2263340vec.45.1400869034581; Fri, 23 May 2014 11:17:14 -0700 (PDT) Received: by 10.221.68.129 with HTTP; Fri, 23 May 2014 11:17:14 -0700 (PDT) In-Reply-To: <537F8DDB.9090208@openroadsconsulting.com> References: <537F4923.40909@openroadsconsulting.com> <537F8DDB.9090208@openroadsconsulting.com> Date: Fri, 23 May 2014 14:17:14 -0400 Message-ID: Subject: Re: Generating report of licenses for included modules From: Kirby Files To: "ivy-user@ant.apache.org" Content-Type: multipart/alternative; boundary=047d7b677d362ef45204fa153d3b X-Virus-Checked: Checked by ClamAV on apache.org --047d7b677d362ef45204fa153d3b Content-Type: text/plain; charset=UTF-8 Unfortunately, repreport doesn't work with ibiblio maven resolvers: " *Limitation*: in m2compatible mode, this resolver is not able list available organizations. It means some features like repreportare not available." ( http://ant.apache.org/ivy/history/latest-milestone/resolver/ibiblio.html ). If you have a small number of projects you want to report on, you can just use ivy:report after your resolve task in each project. This should work regardless of the type of resolvers you use. As for cleancache, it just executes: My repreport.settings are just a normal ivy-settings.xml file, defining the resolvers I want to use for the report. Thanks, --- Kirby Files Software Architect Masergy Communications kfiles@masergy.com On Fri, May 23, 2014 at 2:05 PM, David R Robison < drrobison@openroadsconsulting.com> wrote: > Thanks for the reply. I tried to include some jars from Ibilio (slf4j) > hoping that the license information would also be downloaded but it does > not seem to work. Is there a way to get ivy to retrieve the maven > license info so it can be reported by the repreport task? David > > Ps. What does your "cleancache" task do and what kind of > repreport.settings do you include? > > David R Robison > Open Roads Consulting, Inc. > 103 Watson Road, Chesapeake, VA 23320 > phone: (757) 546-3401 > e-mail: drrobison@openroadsconsulting.com > web: http://openroadsconsulting.com > blog: http://therobe.blogspot.com > book: > http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526 > > On 5/23/2014 9:24 AM, Kirby Files wrote: > > We use repreport to generate a report like that. Our ant task looks > > something like this: > > > > > > > organisation="com.example" /> > > > > > > We tell repreport to scan our enterprise repo, starting with modules in > our > > internal com.example org, and display all transitive dependencies. > > > > The ivy.jar contains an ivy-report.xsl which provides an attractive style > > to the output. The report will include versions and dependencies for all > > modules, as well as licences, if specified in the ivy.xml. > > > > Thanks, > > --- > > Kirby Files > > Software Architect > > Masergy Communications > > kfiles@masergy.com > > > > > > > > On Fri, May 23, 2014 at 9:12 AM, David R Robison < > > drrobison@openroadsconsulting.com> wrote: > > > >> I have a system that is build from several different projects. We use > >> Ant/Ivy/eclipse for our development. My management as asked me to > >> generate a report showing all the included 3rd party software packages > >> including their owner and license. Is there a way to run such a report > >> across several projects? > >> Thanks, David > >> > >> -- > >> > >> David R Robison > >> Open Roads Consulting, Inc. > >> 103 Watson Road, Chesapeake, VA 23320 > >> phone: (757) 546-3401 > >> e-mail: drrobison@openroadsconsulting.com > >> web: http://openroadsconsulting.com > >> blog: http://therobe.blogspot.com > >> book: > >> > http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526 > >> > >> > >> > >> This email communication (including any attachments) may contain > >> confidential and/or privileged material intended solely for the > individual > >> or entity to which it is addressed. > >> If you are not the intended recipient, please delete this email > >> immediately. > >> > >> > > > > This email communication (including any attachments) may contain > confidential and/or privileged material intended solely for the individual > or entity to which it is addressed. > If you are not the intended recipient, please delete this email > immediately. > > --047d7b677d362ef45204fa153d3b--