I need help with the ear plugin.
<?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>
<type>war</type>
</dependency>
<dependency>
<groupId>ch.ildsoftware</groupId>
<artifactId>ildContact</artifactId>
<version>1.0-SNAPSHOT</version>
<type>war</type>
</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>
so problem is "idlContact" it is picking up jar insteat of war.
my all war, ear process are in one reactor , but when i creating a war for
idlContact , then m creating jar and war both an installing then on my local
repo. m creating jar using maven plugin so its going this like that:
install : jar to war
install : war to war
install : jar to jar
in repo.
but when i run the war and ear process in two different reator the its
picking war perfectly.
--
View this message in context:
http://maven.40175.n5.nabble.com/ear-plugin-webModule-problems-tp110943p5711517.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]