building an ejb

2007-06-15 Thread Gonzalo Vásquez Sáez
I can't generate the JAR for an ejb using maven I do have my META-INF/ejb-jar.xml file under the directory specified under /project/build/sourceDirectory (as if it were an xpath expression), this is an extract: project modelVersion4.0.0/modelVersion groupIdnet.excelsys.framework/groupId

Re: building an ejb

2007-06-15 Thread Eric Redmond
ejb-jar.xml is not a source (source are for things like java code), this is a resource. You would put it under src/main/resources/META-INF/ejb- jar.xml Alternatively, you can override the default resources directory: resources resource !-- Where non-compiled files reside (such as

Re: building an ejb

2007-06-15 Thread Gonzalo Vásquez Sáez
Works great! Thanks On 15/06/07, Eric Redmond [EMAIL PROTECTED] wrote: ejb-jar.xml is not a source (source are for things like java code), this is a resource. You would put it under src/main/resources/META-INF/ejb- jar.xml Alternatively, you can override the default resources directory: