Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 38150 invoked from network); 2 Feb 2010 17:28:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 17:28:28 -0000 Received: (qmail 19109 invoked by uid 500); 2 Feb 2010 17:28:28 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 19035 invoked by uid 500); 2 Feb 2010 17:28:27 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 19025 invoked by uid 99); 2 Feb 2010 17:28:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 17:28:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 17:28:16 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 5DC9945814A for ; Tue, 2 Feb 2010 11:27:55 -0600 (CST) Date: Tue, 2 Feb 2010 11:27:55 -0600 (CST) From: "rich zaleski (JIRA)" To: issues@maven.apache.org Message-ID: <2629278.76489.1265131675231.JavaMail.haus-jira@codehaus01.managed.contegix.com> In-Reply-To: <13581274.1190750351440.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Commented: (MWAR-121) Maven-war-plugin not installing war. Installs ".jar" and renames it to ".war" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MWAR-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208951#action_208951 ] rich zaleski commented on MWAR-121: ----------------------------------- It would be great if this would be fixed. It seems the maven-source-plugin works properly, but the maven-war-plugin does not. I would like to generate primary and secondary artifacts using a single pom file. It seems overly complex to have to make modules out of everything. org.apache.maven.plugins maven-jar-plugin default-jar package jar maven-war-plugin cds_commons attach-war package war org.apache.maven.plugins maven-source-plugin attach-sources package jar < /plugins> > Maven-war-plugin not installing war. Installs ".jar" and renames it to ".war" > ----------------------------------------------------------------------------- > > Key: MWAR-121 > URL: http://jira.codehaus.org/browse/MWAR-121 > Project: Maven 2.x WAR Plugin > Issue Type: Bug > Environment: Windows XP > Maven 2.0.7 > JDK 1.5.0_10 > Reporter: Dave Rathnow > Assignee: Stephane Nicoll > Attachments: war.zip > > > I'm trying to use the maven-war-plugin to install a war into my local repository. "mvn clean install" runs fine and completes succesfully. If I look under the target" directory in the project folder, there is, amoung other things, a .jar and .war file. Both have been built properly. However, if I look in my local repository, there is a .war file but when I open it, it is actually the .jar file renamed to .war. > The attached zip file contains the pom for the project, the parent pom and the output from the command "mvn clean install -X > output.log" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira