maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Coy (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MEAR-118) Invalid application.xml generated
Date Tue, 04 Jan 2011 22:16:58 GMT

    [ http://jira.codehaus.org/browse/MEAR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250451#action_250451
] 

Stephen Coy commented on MEAR-118:
----------------------------------

This is correct for J2EE 1.3.
J2EE 1.4 moved from DTDs to schemas where the order of the elements was made more consistent
for all of the different deployment descriptors.


> Invalid application.xml generated
> ---------------------------------
>
>                 Key: MEAR-118
>                 URL: http://jira.codehaus.org/browse/MEAR-118
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: Maven 2.2.1
>            Reporter: Stephen Coy
>            Assignee: Stephane Nicoll
>            Priority: Critical
>             Fix For: 2.4.1
>
>         Attachments: ApplicationXmlWriter.java.patch
>
>
> If a project description is specified in the pom.xml, then the plugin generates a corresponding
<description>description from pom</description> element in the application.xml
file.
> Unfortunately, it places it in the wrong location according to the schema (for both J2EE
1.4 and JEE 5):
>   <display-name>artifact name</display-name>
>   <description>project description</description>
>   <module>
>   ...
> instead of:
>   <description>project description</description>
>   <display-name>artifact name</display-name>
>   <module>
>   ...
> This results in deployment failure on WebSphere.
> Work around is to roll back to version 2.3.2 of the ear plugin.

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

        

Mime
View raw message