[ http://jira.codehaus.org/browse/MEAR-53?page=comments#action_83711 ] 
            
Stephane Nicoll commented on MEAR-53:
-------------------------------------

the spec has not always been very clear on that point I am afraid.

I don't know of any concrete use case of application-client. I don't think that 
we even have a artifact type for this kind of project. So the real question 
here is when the <java> entry is actually used in a deployment descriptor.

I agree this is a bug.

{quote}
I understand from the discussion in MEAR-46 that JBoss users sometimes use the 
<module><java> tags as a means to document the jars that make up an ear. This 
is al fine, but don't make this the default.
{quote}

It has nothing to do with that, it's a misunderstanding of the usage of the 
<java> module element. If you work with regular jar artifact type, they are not 
included in the application.xml unless specified explicitely, only ejb-clients 
are for the moment.





> ejb-client dependencies should not be treated as J2EE application client 
> modules
> --------------------------------------------------------------------------------
>
>                 Key: MEAR-53
>                 URL: http://jira.codehaus.org/browse/MEAR-53
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: mvn 2.0.4
>            Reporter: Marcel Schutte
>
> With the release of maven-ear-plugin 2.3, it has become default behavior to 
> include a <module><java> tag in the generated application.xml for 
> dependencies of type ejb-client.
> This is not the intended use of the <module><java> tag and it also causes 
> errors in Websphere 5.1. <module><java> is for application client modules 
> (j2ee modules with an application-client.xml deployment descriptor) and 
> certainly not for ejb-client jars (which are from a j2ee perspective regular 
> java jar files).
> I understand from the discussion in MEAR-46 that JBoss users sometimes use 
> the <module><java> tags as a means to document the jars that make up an ear. 
> This is al fine, but don't make this the default.
> I suggest turning the behavior around and switching the default to no 
> inclusion in the generated application.xml

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to