Maven 2 & 3

add @since to mojo at class level

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0.5
  • Component/s: Sites & Reporting
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    2
  1. plugin-descriptor.patch
    13/Aug/06 5:04 PM
    0.8 kB
    Dennis Lundberg
  2. plugin-tools.patch
    13/Aug/06 5:04 PM
    2 kB
    Dennis Lundberg

Issue Links

Activity

Hide
Brett Porter added a comment -

addressing the questions raised here:
http://jira.codehaus.org/browse/MNG-2406#action_72244

This was added to the metamodel (see maven-plugin-descriptor/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java), its just that this isn't driven by modello. The same change needs to be made to MojoDescriptor.

I agree with porting it to 2.0.5, but believe as it is a feature we should vote for that first, after the work is done on trunk. I did that for MNG-2406 but voting stopped after we realised we needed this too.

Show
Brett Porter added a comment - addressing the questions raised here: http://jira.codehaus.org/browse/MNG-2406#action_72244 This was added to the metamodel (see maven-plugin-descriptor/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java), its just that this isn't driven by modello. The same change needs to be made to MojoDescriptor. I agree with porting it to 2.0.5, but believe as it is a feature we should vote for that first, after the work is done on trunk. I did that for MNG-2406 but voting stopped after we realised we needed this too.
Hide
Dennis Lundberg added a comment -

Patch for the plugin descriptor.

Show
Dennis Lundberg added a comment - Patch for the plugin descriptor.
Hide
Dennis Lundberg added a comment -

Patch for plugin tools.

Show
Dennis Lundberg added a comment - Patch for plugin tools.
Hide
Dennis Lundberg added a comment -

Yes I saw that the plugin descriptor needs to be updated.

But there is also a modello driven thing in maven-plugin-tools-model. That is not the same as the plugin-descriptor, is it? I'm curious about what it is used for.

Show
Dennis Lundberg added a comment - Yes I saw that the plugin descriptor needs to be updated. But there is also a modello driven thing in maven-plugin-tools-model. That is not the same as the plugin-descriptor, is it? I'm curious about what it is used for.
Hide
Brett Porter added a comment -

I think that's for ant mojos - John C might know more.

Show
Brett Porter added a comment - I think that's for ant mojos - John C might know more.
Hide
Dennis Lundberg added a comment -

Patches have been applied, by Brett, to trunk and maven-2.0.x branch, and also to maven-plugin-tools that have moved to maven-shared.

Show
Dennis Lundberg added a comment - Patches have been applied, by Brett, to trunk and maven-2.0.x branch, and also to maven-plugin-tools that have moved to maven-shared.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: