From users-return-465-apmail-groovy-users-archive=groovy.apache.org@groovy.incubator.apache.org Wed Jul 15 04:10:44 2015 Return-Path: X-Original-To: apmail-groovy-users-archive@minotaur.apache.org Delivered-To: apmail-groovy-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5962218535 for ; Wed, 15 Jul 2015 04:10:44 +0000 (UTC) Received: (qmail 12015 invoked by uid 500); 15 Jul 2015 04:10:44 -0000 Delivered-To: apmail-groovy-users-archive@groovy.apache.org Received: (qmail 11983 invoked by uid 500); 15 Jul 2015 04:10:44 -0000 Mailing-List: contact users-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.incubator.apache.org Delivered-To: mailing list users@groovy.incubator.apache.org Received: (qmail 11973 invoked by uid 99); 15 Jul 2015 04:10:44 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jul 2015 04:10:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 99E9418195A for ; Wed, 15 Jul 2015 04:10:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.214 X-Spam-Level: * X-Spam-Status: No, score=1.214 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id otalrhbgjziO for ; Wed, 15 Jul 2015 04:10:35 +0000 (UTC) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 66F8A20772 for ; Wed, 15 Jul 2015 04:10:34 +0000 (UTC) Received: by oige126 with SMTP id e126so20446874oig.0 for ; Tue, 14 Jul 2015 21:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=r9YZZ0cmoBdqzNIdoE4vMMDSqHQXgCtOQWZ78EWxvSA=; b=mGTR7ebRKj5TFTKDZcNf1XNpFtiLKggyadbuX/mcH8E3BDFup8Xe03Yp9jcTre/dn8 tEq0k58OhukEMDfvjpphX1w2svGnW2/5geJAJsK6ZgWlnl9QVXAjfh0QKzi6PkUlR7W9 6Whdicoj8zPPBmQFNvSDWXvoGANVaAa9l9dlO6v/9SpGBvrNW1ggGve1UWxb3t10v7or JxcCBGEecEIjiQRuGv1Y8u5fGFkgIibYtimpAm80MXu2CHFqczIIICFUUHyuH156W++E /UyRyHiDfgLgj+RCXCprAJoy5gnn8pMNQYsZmey3zEebc7xW8Oet9BuADgU3cQeGNc4O RV2w== MIME-Version: 1.0 X-Received: by 10.202.168.208 with SMTP id r199mr1675405oie.134.1436933433364; Tue, 14 Jul 2015 21:10:33 -0700 (PDT) Received: by 10.202.200.143 with HTTP; Tue, 14 Jul 2015 21:10:33 -0700 (PDT) In-Reply-To: <1003882269.2240300.1436915040192.JavaMail.yahoo@mail.yahoo.com> References: <1003882269.2240300.1436915040192.JavaMail.yahoo@mail.yahoo.com> Date: Wed, 15 Jul 2015 14:10:33 +1000 Message-ID: Subject: Re: Wanted: help with reinventing grapes for java From: =?UTF-8?B?6ams5peL77yITUEgWHVhbu+8iQ==?= To: users@groovy.incubator.apache.org Content-Type: text/plain; charset=UTF-8 Hi Richard, Someone posted the similar idea before and actually got an working example, here is the link of the thread: http://groovy.329449.n5.nabble.com/JVM-application-installer-via-maven-gradle-repo-tp5722094p5722112.html, and the repository https://github.com/tkruse/gpi, but I have not tried it myself. On Wed, Jul 15, 2015 at 9:04 AM, Richard Heintze wrote: > > Can someone help me get started with a little groovy program that will > (1) ingest a maven pom.xml > (2) construct the dependency tree > (3) download dependencies into the local maven repository if needed > (4) construct the class path strings that includes all the dependent jars > and display this so I can use it with the java command to run the java > program with this bash syntax > > java -cp `getClassPath.groovy ./pom.xml` abc.def.main > > This would be very handy for running command line utilities like the derby > toolkit command line and the flyway command line utility. > > Thanks > Siegfried