hi farinaz i think u have to add tags in the pom.xml for the xml files to be added.
On 1/23/06, Farinaz Ghasemi <[EMAIL PROTECTED]> wrote: > > Dear friends I want to make an ear file with maven hesre is my > project.xmlfile: > <project> > <extend>ejb/project.xml</extend> > <artifactId>example</artifactId> > > <dependencies> > > <dependency> > <groupId>xerces</groupId> > <artifactId>xerces</artifactId> > <version>1.4.4</version> > <properties> > <ear.bundle>true</ear.bundle> > </properties> > > </dependency> > > <dependency> > <groupId>${pom.groupId}</groupId> > <artifactId>ejb</artifactId> > <version>${pom.currentVersion}</version> > <type>ejb</type> > <properties> > <ear.bundle>true</ear.bundle> > </properties> > </dependency> > <dependency> > <groupId>${pom.groupId}</groupId> > <artifactId>util</artifactId> > <version>${pom.currentVersion}</version> > <properties> > <ear.bundle>true</ear.bundle> > </properties> > </dependency> > <dependency> > <groupId>${pom.groupId}</groupId> > <artifactId>web</artifactId> > <version>${pom.currentVersion}</version> > <type>war</type> > <properties> > <ear.bundle>true</ear.bundle> > <ear.appxml.war.context-root>example</ear.appxml.war.context-root> > </properties> > </dependency> > </dependencies> > > and the maven.xml > <project default="example:build" xmlns:j="jelly:core"> > <goal name="example:build"> > <j:set var="goal" value="example:build"/> > <attainGoal name="multiproject:goal"/> > <attainGoal name="ear"/> > </goal> > > <goal name="example:clean" prereqs="multiproject:clean,clean"/> > </project> > > but when I maven this, the ejb module's MET-INF directory only contains > the MANIFEST.MF file not the xml files what shall I do > I will be so appreciate if someone can help > > > >