Maven
  1. Maven
  2. MNG-2521

Using JDK 1.5+ annotations for mojos metadata

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-alpha-1, 2.0.4, 2.0.5
    • Fix Version/s: None
    • Labels:
      None
    • Complexity:
      Intermediate
    • Testcase included:
      yes
    • Patch Submitted:
      Yes
    • Number of attachments :
      7

      Description

      The attached patch contains a plugin-tool that allows writing annotatd mojos using JDK 1.5 annotations instead of doclet comments.
      It is was created from (my) sf.net project https://sourceforge.net/projects/mvn-anno-mojo/.

      1. format-maven-plugin-plugin.diff
        10 kB
        Eric Redmond
      2. format-maven-plugin-tools-java5.diff
        41 kB
        Eric Redmond
      3. maven-plugin-plugin-postcompile.diff
        7 kB
        Eric Redmond
      4. maven-plugin-tools-anno.patch
        154 kB
        Yoav Landman
      5. maven-plugin-tools-annotations.tar.gz
        3 kB
        Jochen Kuhnle
      6. maven-plugin-tools-java5.diff
        40 kB
        Eric Redmond
      7. maven-plugin-tools-java5.tar.gz
        15 kB
        Jochen Kuhnle

        Issue Links

          Activity

          Hide
          Jason van Zyl added a comment -

          Kenney and Eric have already created tools for this.

          Show
          Jason van Zyl added a comment - Kenney and Eric have already created tools for this.
          Hide
          Yoav Landman added a comment -

          Where can these tools be found?

          Show
          Yoav Landman added a comment - Where can these tools be found?
          Hide
          Eric Redmond added a comment -

          Added a mojo for plugin-plugin to allow descriptor generation post compilation.

          Added maven-plugin-tools-java5 extractor implementation

          Show
          Eric Redmond added a comment - Added a mojo for plugin-plugin to allow descriptor generation post compilation. Added maven-plugin-tools-java5 extractor implementation
          Hide
          Eric Redmond added a comment -

          Same patches with correct code formatting

          Show
          Eric Redmond added a comment - Same patches with correct code formatting
          Hide
          Jochen Kuhnle added a comment -

          Yet another annotation patch

          Show
          Jochen Kuhnle added a comment - Yet another annotation patch
          Hide
          Jochen Kuhnle added a comment -

          Yet another annotation patch

          Show
          Jochen Kuhnle added a comment - Yet another annotation patch
          Hide
          Jason van Zyl added a comment -

          Is this based on the branch already present?

          Look here for details: http://docs.codehaus.org/display/MAVEN/Home

          Show
          Jason van Zyl added a comment - Is this based on the branch already present? Look here for details: http://docs.codehaus.org/display/MAVEN/Home
          Hide
          Brett Porter added a comment -

          imagine this will be done in some form as part of the Guice-ification.

          Show
          Brett Porter added a comment - imagine this will be done in some form as part of the Guice-ification.
          Hide
          Herve Boutemy added a comment -

          done in maven-plugin-tools 3.0 (not in Maven Core), see MPLUGIN-189

          Show
          Herve Boutemy added a comment - done in maven-plugin-tools 3.0 (not in Maven Core), see MPLUGIN-189

            People

            • Assignee:
              Herve Boutemy
              Reporter:
              Yoav Landman
            • Votes:
              11 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: