[ 
https://jira.codehaus.org/browse/MEAR-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoît Berthonneau reopened MEAR-173:
-------------------------------------


Hi Robert,

I'm sorry but I reproduced the problem with your sample project (just changed 
the maven-ear-plugin to 2.8) and the output is still incorrect (ejb-shared is 
not declared as an EJB module in both application.xml EAR files)

Please find attached the expected "application.xml" files and the current ones.

I'm using Maven 3.1.1 (and discovered the problem on Maven 3.0.5)
                
> EJB Modules defined in a parent POM are ignored from the child POM
> ------------------------------------------------------------------
>
>                 Key: MEAR-173
>                 URL: https://jira.codehaus.org/browse/MEAR-173
>             Project: Maven Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Windows XP 64bits
>            Reporter: Benoît Berthonneau
>            Assignee: Robert Scholte
>            Priority: Critical
>         Attachments: application.xml, MEAR-173.zip
>
>
> When a parent pom (pom packaging) defines ejbModules in the configuration 
> section, these ejbModules are ignored in a child module (ear packaging)
> The others modules (jar, war) are correctly taken into account.
> Here is the pom structure:
> {noformat}
> parent-ear (with ejbModules defined, common to all child modules)
>   | ear-1 (with specific ejbModules)
>   | ear-2 (with other specific ejbModules)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to