Maven 2.x Help Plugin

Show _ALL_ plugins and settings in help:effective-pom

Details

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

Description

Currently running 'mvn help:effective-pom' only shows the resource plugin and the help plugin in the
build section.

Running 'mvn compile help:effective-pom' also shows the compiler plugin.

I'd like to see ALL plugins that are used in the lifecycle to show up in the output, not only those that
are configured.

Also, I'd like to see the default settings for plugins in there. For instance, on a jdk 1.4 project,
where the compiler plugin has not been configured, I'd like to see the source/target versions explicitly set.
Only if you manually specify a jdk 1.5 project by setting source/target to 5.0 in the pom, then it shows.

In short: currently only POM defaults are listed. Expand this by listing all plugins and plugin defaults.
(and explicit settings, ofcourse).

Activity

Hide
Brett Porter added a comment -

This is not a bug in the Help plugin, but in Maven. Using Maven 3.0-alpha-7 yields the results you want.

Show
Brett Porter added a comment - This is not a bug in the Help plugin, but in Maven. Using Maven 3.0-alpha-7 yields the results you want.

People

Vote (3)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: