Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34EBDD682 for ; Fri, 6 Jul 2012 12:37:33 +0000 (UTC) Received: (qmail 31253 invoked by uid 500); 6 Jul 2012 12:37:32 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 31179 invoked by uid 500); 6 Jul 2012 12:37:31 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 31152 invoked by uid 99); 6 Jul 2012 12:37:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2012 12:37:31 +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 rmannibucau@gmail.com designates 209.85.160.171 as permitted sender) Received: from [209.85.160.171] (HELO mail-gh0-f171.google.com) (209.85.160.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2012 12:37:25 +0000 Received: by ghy10 with SMTP id 10so11640256ghy.30 for ; Fri, 06 Jul 2012 05:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=J3OOepMikuATWOGl5CB6KxWuBGQs2tpeCB5Zv2fK2pY=; b=x0NTbu49C6yjs7Wsq4Q8oiHaXXe4DS/ifUWIZVPxilSZNRwkoh5K60kWmSNhaNTYjQ 5W5arU9rt1oCTwfUMHOX8icv1fVwxWdM5IN5wq2ECpx2cRteIyYLD+3OqpFngtz8SIN5 51SoV6SQXNY4cN8WoER5DhTgQKFrFrkxnco74MHGEQblfTGdnmh+Jh6jz4IQe3yJCQsr Ru/F5Dt+YO8gtZjpNjSFKge4cPCkxEsYqyRLM60CkEsj2pBzzdypkpDW4dyQ4zbGU7s/ gHI9/XWKScEFvmUKI8V2Aica58YlxP2fI6PmCSSxrQh2j9vAr9cbKluAfLvqTOL+PMBd /QDw== Received: by 10.66.89.168 with SMTP id bp8mr45025491pab.50.1341578224749; Fri, 06 Jul 2012 05:37:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.214.16 with HTTP; Fri, 6 Jul 2012 05:36:44 -0700 (PDT) In-Reply-To: <1341574020726-5713154.post@n5.nabble.com> References: <1341574020726-5713154.post@n5.nabble.com> From: Romain Manni-Bucau Date: Fri, 6 Jul 2012 14:36:44 +0200 Message-ID: Subject: Re: is it possible to creating war and jar files with single POM.xml file? To: Maven Developers List Content-Type: multipart/alternative; boundary=f46d042f9600864dd104c42885cf X-Virus-Checked: Checked by ClamAV on apache.org --f46d042f9600864dd104c42885cf Content-Type: text/plain; charset=ISO-8859-1 hi, you can use maven assembly plugin to create the war for instance and let maven jar plugin create the jar. Another way is to define maven war plugin and maven jar plugin then use maven build helper plugin to attach both artifacts so yes that's possible - Romain 2012/7/6 sivarenati > hi frnds, > > Is it possible to create war and jar files with single pom.xml file. > > i have to create jar file for my project along with war. > > please help me on this if know how to do it. > > > > > > Regrds. > Siva > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/is-it-possible-to-creating-war-and-jar-files-with-single-POM-xml-file-tp5713154.html > Sent from the Maven Developers mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > > --f46d042f9600864dd104c42885cf--