[ http://jira.codehaus.org/browse/MWAR-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Nicoll closed MWAR-121. -------------------------------- Resolution: Won't Fix Not an issue. The definition of the jar plugin in the parent pom conflicts with war > 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