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 0BB439592 for ; Tue, 12 Mar 2013 10:25:02 +0000 (UTC) Received: (qmail 8093 invoked by uid 500); 12 Mar 2013 10:25:00 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 7729 invoked by uid 500); 12 Mar 2013 10:24:59 -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 7720 invoked by uid 99); 12 Mar 2013 10:24:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Mar 2013 10:24:59 +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 (athena.apache.org: domain of 06virg@gmail.com designates 209.85.215.68 as permitted sender) Received: from [209.85.215.68] (HELO mail-la0-f68.google.com) (209.85.215.68) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Mar 2013 10:24:54 +0000 Received: by mail-la0-f68.google.com with SMTP id fo12so1263315lab.7 for ; Tue, 12 Mar 2013 03:24:33 -0700 (PDT) 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=XrYYGNe/H1knqL5pw7lcEJf4qIdY7kdOUH+CEFlxlE0=; b=B1uYq3/sgFn1bXyvKoqNdMhotAfnigS4Hpp6aOvDSy0RZ17mft3Dn+GvHEeHiL7847 9x1wVf5hYCmmsQfeYlPgnliwSXWwXXs5gGhLw1urWWppcq7DB5IgEuPqzWIpJT0XJqhC EdlaUWViSu9xq++xHM3hlc8Sq1cv7yYKCmr5mXIVFVLVhyKq11WAj1Tx4skL+tMEexS9 vcbsXoZUn+0Yi+0cuN4B6yCgY2k+Dg2tN8dEEk+edhexgcrXVByhQh1ymVYyo9jZpw+l JQaEgUI+xJXkClBio/Vzx4aTS2Qj7vqbH/CvF7gB0SdkM0uCsRUch/t5Gchp63gmvaF7 uTvQ== MIME-Version: 1.0 X-Received: by 10.112.39.10 with SMTP id l10mr5930359lbk.79.1363083873189; Tue, 12 Mar 2013 03:24:33 -0700 (PDT) Received: by 10.112.86.33 with HTTP; Tue, 12 Mar 2013 03:24:32 -0700 (PDT) Date: Tue, 12 Mar 2013 15:54:32 +0530 Message-ID: Subject: maven-antrun-plugin in interactive mode From: virg g <06virg@gmail.com> To: users@maven.apache.org Content-Type: multipart/alternative; boundary=e0cb4efe2df40f892604d7b7b2d7 X-Virus-Checked: Checked by ClamAV on apache.org --e0cb4efe2df40f892604d7b7b2d7 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am using maven-antrun-plugin 1.8 in interactive mode to accept user inputs for build version for my project. i want to use this version to be updated in all manifests file of all the jars of my project creates. I have added this plugin in the parent pom, which has all the modules to be built and also the plugin for jar to add manifest info. But the input received from prompt i.e build version, not able to update the manifest info from this variable (build version). I getting this value as empty. How to make this value available to all the jars while updating manifest info. This is my sample code in the parent POM. I dont want to pass these parameters as command line arguments which i am able to update manifest info. My option is only interactive mode. I have set false without this, it prompts for each jar which when it creates. Any help is highly appreciated. org.apache.maven.plugins maven-antrun-plugin 1.7 catch-new-version false run validate true org.apache.maven.plugins maven-jar-plugin 2.3.1 ------------------------------- ${build-version} Thanks virg --e0cb4efe2df40f892604d7b7b2d7--