Maven 1.x Jar Plugin

maven.jar.mainclass not set due to typo in plugin

Details

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

Description

The maven.jar.mainclass setting is ignored due to a typo in the plugin.

It can be fixed by changing mainClass to mainclass on line 55:

<maven:pluginVar var="mainClass" plugin="maven-java-plugin" property="maven.jar.mainclass" />

to

<maven:pluginVar var="mainclass" plugin="maven-java-plugin" property="maven.jar.mainclass" />

Activity

Hide
Alwyn Schoeman added a comment -

Relevant plugin is maven-jar-plugin-1.3 from rc2-snapshot.

Show
Alwyn Schoeman added a comment - Relevant plugin is maven-jar-plugin-1.3 from rc2-snapshot.
Hide
dion gillard added a comment -

Fixed in 1.4-SNAPSHOT

Show
dion gillard added a comment - Fixed in 1.4-SNAPSHOT

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: