You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ff <fr...@126.com> on 2010/10/31 05:31:11 UTC

work on a ejb module

i want to package a ejb module,then i get error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb (default-ejb) on project jbpm-enterprise: Error assembling EJB: META-INF/ejb-jar.xml is required for ejbVersion 2.x
 
if i set the ejbVersion to 3.0, it works well.but the ejb-jar.xml is useful in the project,and cant be deleted.
 i do input the ejb-jar.xml to the module,and it's put in the directory META-INF in the resource directory,it comes with the same error.
anyone can help me ?
 

Re: work on a ejb module

Posted by 冯仁君 <fr...@126.com>.
i have conquered.at first i put the ejb-jar.xml in the wrong directory....

-----Original Message----- 
From: Dennis Lundberg
Sent: Sunday, October 31, 2010 6:08 PM
To: Maven Users List
Subject: Re: work on a ejb module

On 2010-10-31 05:31, ff wrote:
> i want to package a ejb module,then i get error:
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb (default-ejb) on project 
> jbpm-enterprise: Error assembling EJB: META-INF/ejb-jar.xml is required 
> for ejbVersion 2.x
>
> if i set the ejbVersion to 3.0, it works well.but the ejb-jar.xml is 
> useful in the project,and cant be deleted.
>  i do input the ejb-jar.xml to the module,and it's put in the directory 
> META-INF in the resource directory,it comes with the same error.
> anyone can help me ?
>

This is working for me.
Can you give us more info about your settings and environment?

-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: work on a ejb module

Posted by Dennis Lundberg <de...@apache.org>.
On 2010-10-31 05:31, ff wrote:
> i want to package a ejb module,then i get error:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb (default-ejb) on project jbpm-enterprise: Error assembling EJB: META-INF/ejb-jar.xml is required for ejbVersion 2.x
>  
> if i set the ejbVersion to 3.0, it works well.but the ejb-jar.xml is useful in the project,and cant be deleted.
>  i do input the ejb-jar.xml to the module,and it's put in the directory META-INF in the resource directory,it comes with the same error.
> anyone can help me ?
>  

This is working for me.
Can you give us more info about your settings and environment?

-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org