You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anton Nikitin (JIRA)" <ji...@codehaus.org> on 2010/01/14 17:25:55 UTC

[jira] Commented: (MEAR-121) Cannot disable appearance in application.xml

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

Anton Nikitin commented on MEAR-121:
------------------------------------

It seems that we have found a solution. If we provide display name in pom.xml as

<displayName>${null}</displayName>

it makes plugin to avoid adding it in application.xml.

But I don't know if we should consider this workaround as a "hack" or recommended action for this issue.

> Cannot disable <displayName> appearance in application.xml
> ----------------------------------------------------------
>
>                 Key: MEAR-121
>                 URL: http://jira.codehaus.org/browse/MEAR-121
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Anton Nikitin
>
> Our customer wants to exclude <displayName> from application.xml in order to be able to define it manually when deploying on WebSphere.
> After some experiments with EAR plugin I found that it is impossible to do through POM settings.
> If <displayName> is not explicitly specified in POM or even specified as empty element (<displayName/>) plugin forces the value in application.xml as ${project.artifactId}

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