I am new with maven and I haven't work with ANT before,
I want to build an ear file, when I use maven to build jar files,war files and ejb modules it works correctly ,but when I want to build an ear file the EJB module within, does not contain ejb-jar.xml ,jboss.xml and jbosscmp-jdbc.xml the META-INF folder only contains MANIFEST.MF .
I searched a lot about this but all the solution used XDoclet plugin and we forced to not use XDoclet,
I know the solution would be easy if I'll try more,
But there is some time limitation and I have not enough time for doing it,
I'll be so appreciate if you can help me.
Here is the maven.xml file:
<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>
And project.properties:
maven.multiproject.includes=**/project.xml
maven.multiproject.excludes=project.xml,common/project.xml
maven.ear.appxml.generate=true