Hi
I need help with the ear plugin.
I have the following pom:
<?xml version="1.0"?>
<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">
<parent>
<artifactId>ILD_Export-Demo</artifactId>
<groupId>ch.ildsoftware</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>ch.ildsoftware</groupId>
<artifactId>ILD-Export-Demo-EAR</artifactId>
<name>ILD-Export-Demo-EAR</name>
<version>1.0-SNAPSHOT</version>
<packaging>ear</packaging>
<dependencies>
<dependency>
<groupId>ch.ildsoftware</groupId>
<artifactId>demoDB</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ch.ildsoftware</groupId>
<artifactId>ILD-Export-EJB</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ch.ildsoftware</groupId>
<artifactId>ILD-Export-WEB</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ch.ildsoftware</groupId>
<artifactId>ildContact</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<modules>
<ejb3Module>
<groupId>ch.ildsoftware</groupId>
<artifactId>demoDB</artifactId>
</ejb3Module>
<ejb3Module>
<groupId>ch.ildsoftware</groupId>
<artifactId>ILD-Export-EJB</artifactId>
</ejb3Module>
<webModule>
<groupId>ch.ildsoftware</groupId>
<artifactId>ildContact</artifactId>
<contextRoot>/ildContact</contextRoot>
</webModule>
<webModule>
<groupId>ch.ildsoftware</groupId>
<artifactId>ILD-Export-WEB</artifactId>
<contextRoot>/ExportWeb</contextRoot>
</webModule>
</modules>
</configuration>
</plugin>
</plugins>
</build>
</project>
I can't create the package for this project because maven looks out for
jar files instead of war files in the case of the web modules, even
though for "ILD-Export-Web" and "ildContact" the packaging is set as war
in their pom. Both war files exists in my local repository.
Any ideas? What is wrong im my pom?
Thanks
Oliver
--
===============================
ILD Software GmbH
E-Mail: [EMAIL PROTECTED]
Tel: 032 512 70 04
Postadresse:
ILD Software GmbH
Postfach 845
3000 Bern 8
===============================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]