I have this pom: <project> <modelVersion>4.0.0</modelVersion> <groupId>myproject.server</groupId> <artifactId>ear</artifactId> <packaging>ear</packaging> <version>1.0</version> <name>myproject EAR</name> <parent> <groupId>myproject</groupId> <artifactId>server</artifactId> <version>1.0</version> </parent> <dependencies> <dependency> <groupId>myproject.server</groupId> <artifactId>ejbs</artifactId> <type>ejb</type> <version>1.0</version> </dependency> <dependency> <groupId>myproject.server.servlets</groupId> <artifactId>website</artifactId> <type>war</type> <version>1.0</version> </dependency> <dependency> <groupId>org.jboss.seam</groupId> <artifactId>jboss-seam</artifactId> <version>2.0.2.GA</version> <type>ejb</type> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-ear-plugin</artifactId> <configuration> <jboss> <version>4.2</version> <loader-repository>seam.jboss.org:loader=servlet-1.0</loader-repository> </jboss> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> <modules> <ejbModule> <groupId>myproject.server</groupId> <artifactId>ejbs</artifactId> </ejbModule> <ejbModule> <groupId>org.jboss.seam</groupId> <artifactId>jboss-seam</artifactId> <bundleFileName>jboss-seam-2.0.2.GA.jar</bundleFileName> </ejbModule> <webModule> <groupId>myproject.server.servlets</groupId> <artifactId>website</artifactId> <contextRoot>/myproject</contextRoot> </webModule> </modules> <version>5</version> </configuration> </plugin> </plugins> </build> </project>
When I publish it to JBoss using WTP, the ear has this files: - META-INF - application.xml (Empty) -myproject-ejbs-1.0.jar (Correct) -myproject-website-1.0.war (Correct) The jboss-seam jar and its dependencies are not beying deployed, am I missing something? The application.xml generated by maven-ear-plugin is ok, the problem is the one generated by eclipse. Here is the .settings/org.eclipse.jdt.core.prefs: #Sun Oct 19 00:54:09 ART 2008 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.source=1.5 org.eclipse.jdt.core.compiler.compliance=1.5 Here is the .settings/org.eclipse.wst.common.component: <project-modules id="moduleCoreId" project-version="2.0"> <wb-module deploy-name="myproject-ear-1.0"> <wb-resource deploy-path="/" source-path="target/eclipseEar"/> </wb-module> </project-modules> Here is the .settings/org.eclipse.wst.common.project.facet.core.xml: <faceted-project> <fixed facet="jst.ear"/> <installed facet="jst.ear" version="5.0"/> </faceted-project> I'm using WTP 3.0.2 and Eclipse 3.4. Thanks a lot I'm trying to make this work since a week! --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email