Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFAA5EB5A for ; Wed, 16 Jan 2013 21:09:24 +0000 (UTC) Received: (qmail 95288 invoked by uid 500); 16 Jan 2013 21:09:22 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 95182 invoked by uid 500); 16 Jan 2013 21:09:22 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 34770 invoked by uid 99); 16 Jan 2013 19:34:13 -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 danny.schimke@googlemail.com designates 209.85.219.54 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=KysLsFVBf+9kNIAMMQ6LQhphTil4VcSqP1LBJsDVSH4=; b=M6czB5i5irfjbHjf1QPzBEHC4QDeTsV9mwZGaaxN+GMIwn2hsQmr8qreqhiKKvL127 DPYoYR7X0P8CaBZEBnfcbG66f4jWYkAyKSQTxH5pEuQMCOpgSo4kqATbjwvDGd0/ZPtv /UvovIjXMHFB+oCvpebCd1AssT9LTUGA3XQ6dK0rg7J7hH4YawPXaWhe60iN253UrkSD nSkVgs4/VmCR2YMuv8Cuz4TlQ3U9GCBxTcBEBD8QK4eTQpjyMnIEDKuwZpTVa8fKv9sr 1t5Dx8Sg9PEXpteNCLncb2DCdk26mZzGFMY/ACiH9cOJ8EbcgudWKjjIh0LwCbBLQhxe hrog== MIME-Version: 1.0 X-Received: by 10.60.154.169 with SMTP id vp9mr1757520oeb.109.1358364826239; Wed, 16 Jan 2013 11:33:46 -0800 (PST) Date: Wed, 16 Jan 2013 20:33:46 +0100 Message-ID: Subject: Write dependency information to a file (new custom plugin) From: Danny Schimke To: users@maven.apache.org Content-Type: multipart/alternative; boundary=bcaec550b136f183a204d36cf446 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec550b136f183a204d36cf446 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, for 3 years now I have no more experience with Maven. But today I got a challenge. I have to resolve the projects dependencies and write those into a file. There already a template file exists with placeholders where to replace with the dependencies. Finally the file will be copied to a specified directory. The output should be plain text as well XML depending upon the POMs configuration. It should be possible to configure in the pom which artifacts are written/captured. Important is to gather the version of depending artifacts in a file. Entire thoughts were to write a new maven plugin. But then I need to call the dependency:resolve plugin within my plugin and use its result to achieve my goal. How can I do this? Are there other possible and good solutions to do it (maybe using Groovy script and call "mvn" on command line)? Thanks a lot! --=20 Mit freundlichen Gr=FC=DFen / Kind regards -Danny Schimke* Place To Remember* (Android- App) goo.gl/M9OGs - *Free* goo.gl/A8bZ3 - *Donate* Viel Spa=DF und vielen Dank! --bcaec550b136f183a204d36cf446--