Hello all,

 

For Maven 2, do the EJB jar descriptors need to be placed in a different
directory than src/ejb/META-INF?

 

Here's my error:

 

[ERROR] Cause:

org.apache.maven.plugin.MojoExecutionException: Error assembling EJB

        at org.apache.maven.plugin.ejb.EjbMojo.execute(EjbMojo.java:129)

...

Caused by: org.codehaus.plexus.archiver.ArchiverException:
c:\java\eclipse\workspace\lis-directory-manager\target\classes\META-INF\ejb-
jar.xml isn't a file.

        at
org.codehaus.plexus.archiver.AbstractArchiver.addFile(AbstractArchiver.java:
143)

        at org.apache.maven.plugin.ejb.EjbMojo.execute(EjbMojo.java:104)

        ... 14 more

 

Now, of course, I don't have anything in the target directory, because I
assume that's where the build is supposed to copy the ejb-jar.xml file to...

 

Any wisdom from the experienced (i.e. - been using M2 for a month) users out
there?  :-)

 

Joel

 

 

Reply via email to