Maven 1.x Ear Plugin

ear plugin uses wrong variable to set context-root in descriptor

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1
  • Fix Version/s: 1.2
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

The context-root element of the application.xml file is not generated correctly as plugin.jelly for the ear plugin uses the wrong variable for the context-root.

The script uses ear.appxml.ear.context-root.

It should be ear.appxml.war.context-root.

Also I seem to remember that the property maven.ear.appxml.generate is
also incorrectly stated as maven.j2ee.ear.appxml.generate in the documentation.

Activity

Hide
Michal Maczka added a comment -

Fixed

Show
Michal Maczka added a comment - Fixed
Hide
Felipe Leme added a comment -

Marking as closed (was only Fixed).

Show
Felipe Leme added a comment - Marking as closed (was only Fixed).

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: