Maven 2.x Javadoc Plugin

Allow changing the reportOutputDirectory from the commandline

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.6
  • Fix Version/s: 2.6.1
  • Component/s: None
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

We run the javadoc:aggregate task from the CI server to publish javadocs for a certain release. It's not possible now to specifiy the reportOutputDirectory from the commandline by running

mvn -DreportOutputDirectory=/dest/dir javadoc:aggregate

Instead, you have to put this config in a profile/property which exposes too much environment specific info in the pom.

The attached simple patch allows for specifying the reportOutputDirectory on the cmdline while preserving existing behaviour.

Activity

Hide
Vincent Siveton added a comment -

fixed in r824995 snapshot deployed

Show
Vincent Siveton added a comment - fixed in r824995 snapshot deployed

People

Vote (6)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: