Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-218

Tag 'since' not recognized in the plugin model

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7, 2.8, 2.9, 3.0
    • 3.1
    • Metadata Model
    • None
    • Patch

    Description

      Hi,

      When using the 'since' tag in ANT mojo descriptors, the builds fails:


      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:2.7:descriptor (default-descriptor) on project trivial-maven-plugin: Error extracting plugin descriptor: 'Error extracting mojo descriptor from script: .../src/main/scripts/sample.mojos.xml': Error parsing file: .../src/main/scripts/sample.mojos.xml.
      Reason: Cannot parse plugin metadata from file. Unrecognised tag: 'since' (position: START_TAG seen ...</requiresProject>\n <since>... @10:14) -> [Help 1]

      The solution is very trivial: just add the tag information to the modello ('plugin-metadata.mdo').

      I attach a patch for the 'maven-plugin-tools' trunk.

      Best wishes,
      Tinguaro Barreno

      Attachments

        1. maven-plugin-tools.patch
          1 kB
          Tinguaro Barreno
        2. trivial-mojo.zip
          2 kB
          Tinguaro Barreno

        Activity

          People

            olamy Olivier Lamy
            tbarreno Tinguaro Barreno
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: