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

Support lookup-name in env-entry section

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10.1
    • 3.0.0
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment