I'm sorry to clutter this list with this question but I've asked the
user's list and got no useful responses.
I'm trying to use the maven-war-plugin to install a war into my local
repository. "mvn clean install" runs fine and says it complete
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. 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.
Does anyone have any suggestions what may be happening? My pom is below.
Thanks,
Dave.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>fdexec</groupId>
<artifactId>fdexec</artifactId>
<version>4.8.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>httpbridge</artifactId>
<version>${parent.version}</version>
<packaging>war</packaging>
<name>fdexec::httpbridge</name>
<description>HTTP Bridge</description>
<scm>
<connection>scm:svn:http://elmer/svn/umsrepo/trunk/fdexec/Applications</
connection>
<url>scm:svn:http://elmer/svn/umsrepo/trunk/fdexec/Applications</url>
</scm>
<build>
<finalName>httpbridge</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>fdexec</groupId>
<artifactId>bridge</artifactId>
<version>4.8.0</version>
</dependency>
<dependency>
<groupId>fdexec</groupId>
<artifactId>bridge</artifactId>
<version>4.8.0</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
</dependencies>
</project>