Uploaded image for project: 'Maven Ear Plugin'
  1. Maven Ear Plugin
  2. MEAR-248

Support lookup-name in env-entry section

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.1
    • Fix Version/s: 3.0.0
    • Labels:
      None

      Description

      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

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

      should generate application.xml with

      <env-entry-name>ExampleString</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <lookup-name>java:global/Example</lookup-name>                          
      

        Attachments

          Activity

            People

            • Assignee:
              khmarbaise Karl Heinz Marbaise
              Reporter:
              seidelt Thomas Seidel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: