[ http://jira.codehaus.org/browse/MNG-826?page=comments#action_45855 ] 

Stephane Nicoll commented on MNG-826:
-------------------------------------

Guys,

I am just coming back from holidays. I will try to have a look to your request 
shortly.

Brett, yes it does make sense.

> How about introducing a property that make all artifact with 
> <packaging>jar</packaging (not ejb/war) 
> to be excluded during application.xml generation?

Sure, why not.

> OR, to only generate artifact as <java> iff artifacts packaging is 
> <packaging>ejb-client</packaging>

I am not fan of this one. I know the spec states that a <java> entry should be 
made for an ejb-client jar only but I have business cases  where we need to put 
3rd party libraries in a <java> entry. I agree it does not fully respect the 
spec but I think it's too restrictive to restrict <java> entries to ejb-client 
artifacts.

Edward, regarding your original request I will add a property 
'ignoreJavaModules'  ; If it is set to true, no entry will be put in the 
application.xml for jar artifacts. It won't be used if application.xml 
generation is turned off.

WDYT? Perhaps anyone has a better property's name:  'ignoreJavaModules' might 
be confusing.

> Improve the declaration of 3rd party library and exclusion
> ----------------------------------------------------------
>
>          Key: MNG-826
>          URL: http://jira.codehaus.org/browse/MNG-826
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins
>     Reporter: Edward Yakop
>     Assignee: Stephane Nicoll

>
>
> Improvment of the exclusion/inclusion mechanism: for now this is working 
> based on dependencies wich are neither test nor provided. Need also to handle 
> jar modules which needs to be declared in a
> <module>
>   <java>[...]</java>
> </module>
> entry. 

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to