You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Thomas Seidel (JIRA)" <ji...@apache.org> on 2017/03/23 16:31:41 UTC

[jira] [Created] (MEAR-248) Support lookup-name in env-entry section

Thomas Seidel created MEAR-248:
----------------------------------

             Summary: Support lookup-name in env-entry section
                 Key: MEAR-248
                 URL: https://issues.apache.org/jira/browse/MEAR-248
             Project: Maven Ear Plugin
          Issue Type: New Feature
    Affects Versions: 2.10.1
            Reporter: Thomas Seidel


Add support for lookup-name tag in env-entry section to support JNDI lookup. Currently, this tag is ignored in generated application.xml.

Example:

The pom.xml snippet
{code:xml}
<configuration>
  <env-entries>
    <env-entry-name>ExampleString</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <lookup-name>java:global/Example</lookup-name>                          
  </env-entries>
</configuration>
{code}

should generate application.xml with
{code:xml}
<env-entry-name>ExampleString</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<lookup-name>java:global/Example</lookup-name>                          
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)