Dear friends I want to make an ear file with maven hesre is my project.xml file:
<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


Reply via email to