Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EA814200CB3 for ; Mon, 12 Jun 2017 05:49:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E8E6D160BD8; Mon, 12 Jun 2017 03:49:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3BE08160BD7 for ; Mon, 12 Jun 2017 05:49:52 +0200 (CEST) Received: (qmail 47669 invoked by uid 500); 12 Jun 2017 03:49:50 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 19944 invoked by uid 99); 11 Jun 2017 19:30:23 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=iORECxDRmS94GduCaAPj+/qFczxYDAbKzdaC/88LObU=; b=BkcBz6eGAEwKdY8OUeIRfMLAf8G8RA2Y8sYRDCOmh5YHPvaHxuCRos63qKD0vVDo88 lxKhKoePYJowKB1bqMW170gkWriyWBC/OZTfZNub7BZKHGOW8h3+Hr39Mn87E+rRisoi uTpunRaH3/nMQREfLJHrZIcdqnmoEZEpHXOiUzyvYBov7aWs88QcIHX273BwRjQGTmi3 OSALbS2now/6e7k2DGfaGqVtqT3mOsSEfByzxTKxXZJ6rzokgZfeXnl4RgObs+FedwfU Uxz+EdxpZfwJ1fRgIXVg3MSbZXpuMI8t543dsdDagENLd4mvH0Uegqsa/AoA8VoRlIaS jDZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=iORECxDRmS94GduCaAPj+/qFczxYDAbKzdaC/88LObU=; b=EfRG1urRbiuKRd+6vx5ncsAqgrwP9p8KEGKwf5koPiaAVIWwzTateN57sQid1ZiRfr pWwDoR9NEdnGu9e02lI/tkMJo7rdMvjIVyJVHWqW12zqQN6ROJP9wgCo4qj59H0o9E6x XCp8EX5lVGYBQe5cLOoWi/1ZcLUl1kY6CJAa5/QdfIjik3p4CyVqcRWYpI2B+HLIeNwe jIHFZsFUbZvf5U2d/puar+wKa1z59eJf/3lZt8o2MB9diR3+nMIsea1SWKWzsoqCSzjW eQjMdO1xgzSWIi2t5o5XQWwWzECQb3E1CaiH4A0i2K+Gqjd0AHxcPCSAL0cQqbXqjTGz 5sKw== X-Gm-Message-State: AODbwcBEpgPvNF8Su0gPJWrhraZ34oocMd2gi6eFr/IfHtQ4W9yCObmV d+5nOJjqs1IQ+JvOnmJvWchtsPvwaQ== X-Received: by 10.31.36.19 with SMTP id k19mr26053578vkk.78.1497209419549; Sun, 11 Jun 2017 12:30:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Thomas Broyer Date: Sun, 11 Jun 2017 19:30:08 +0000 Message-ID: Subject: Re: If anyone ever wanted to download a bunch of deps specified in a Maven POM for an Ant build To: Maven Users List , user@ant.apache.org Content-Type: multipart/alternative; boundary="001a11425adc9b53900551b43bb9" archived-at: Mon, 12 Jun 2017 03:49:53 -0000 --001a11425adc9b53900551b43bb9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Wouldn't have dependency:copy-dependencies helped here rather than sed/grep/wget? (maybe not, devil is in the details and I just skimmed through your script) https://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-= mojo.html Le dim. 11 juin 2017 20:53, Paul Hammant a =C3=A9crit : > If your 'current directory' is a Maven checkout, I have a Python script > that will download the dependencies into a libs/ folder. Well, > libs/compile/ libs/test/ etc - one subfolder per scope. > > See here: > > https://github.com/paul-hammant/spring-jetty-integrationtest-ant-example/= blob/master/mavdl.py > > I asked a question on Stackoverflow then answered it myself when my bash > skills fell short of a bash one-liner for the same: - > https://stackoverflow.com/questions/44390253 > > In the case of my demo project 'spring-jetty-integrationtest-ant-example'= I > checked all the jars into Git again, like it was still the early 2000's := ) > > - Paul > --001a11425adc9b53900551b43bb9--