Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

A question about Maven

  Asked By: Bertha    Date: Jul 08    Category: Java    Views: 532

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 name="example:clean" prereqs="multiproject:clean,clean"/>

And project.properties:




No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on A question about Maven Or get search suggestion and latest updates.