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:02:55 UTC
[jira] Created: (MEAR-121) Cannot disable appearance
in application.xml
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
[jira] Commented: (MEAR-121) Cannot disable
appearance in application.xml
Posted by "Anton Nikitin (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (MEAR-121) Cannot disable appearance
in application.xml
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Nicoll updated MEAR-121:
---------------------------------
Fix Version/s: 2.4.1
Assignee: Stephane Nicoll
> 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
> Assignee: Stephane Nicoll
> Fix For: 2.4.1
>
>
> 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
[jira] Closed: (MEAR-121) Cannot disable appearance
in application.xml
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MEAR-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Nicoll closed MEAR-121.
--------------------------------
Resolution: Incomplete
I wouldn't call this a bug but I've added your findings in the FAQ and in a test that validates ${null} can be used for this field.
It's indeed a bit tricky but it's much better than a default value for istance.
> 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
> Assignee: Stephane Nicoll
> Fix For: 2.4.1
>
>
> 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