[ http://jira.codehaus.org/browse/MEAR-9?page=all ]
     
Stephane Nicoll reopened MEAR-9:
--------------------------------


> Add support for packaging .par and .ejb3 files in an .ear file
> --------------------------------------------------------------
>
>          Key: MEAR-9
>          URL: http://jira.codehaus.org/browse/MEAR-9
>      Project: Maven 2.x Ear Plugin
>         Type: Bug

>     Reporter: Adrian
>     Assignee: Stephane Nicoll
>     Priority: Minor
>      Fix For: 2.1
>  Attachments: MNG-1264.diff
>
>
> The ear plugin does not support packaging of .ejb3 and .par files into an 
> .ear file.
> To fix this a few lines of code need to be added to the 
> org.apache.maven.plugin.ear.EarModuleFactory class in the newEarModule method.
>         else if ( "ejb3".equals( artifact.getType() ) )
>         {
>             return new EjbModule( artifact );
>         }
>         else if ( "par".equals( artifact.getType() ) )
>         {
>             return new EjbModule( artifact );
>         }
> This will allow an application.xml file to be created with .ejb3 and .par 
> files, for example
> <application ... >
>     <module>
>         <ejb>entities.par</ejb>
>     </module>
>   
>     <module>
>         <ejb>business.ejb3</ejb>
>     </module>
> </application>

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