Maven Enforcer Plugin
  1. Maven Enforcer Plugin
  2. MENFORCER-98

requirePluginVersions rule is not compatible with maven 3.0-beta-1

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-1
    • Fix Version/s: 1.1
    • Component/s: Standard Rules
    • Labels:
      None
    • Environment:
      Windows XP
      Sun JDK 1.6.0_18
      Maven 3.0-beta-1
    • Number of attachments :
      1

      Description

      When using the requirePluginVersions rule, I get a message saying "This rule is not compatible with the current version of Maven. The rule is not able to perform any checks."

        Issue Links

          Activity

          Hide
          Petr Kozelka added a comment -

          on Maven 3.0.3, requirePluginVersions is still not working.
          Is there any better way to reach the functionality ?
          Is Jeff's patch considered wrong ?

          Just to remind, https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-AutomaticPluginVersionResolution states that it can be used to check for missing plugin versions in the POM. Right now that statement is false.

          Show
          Petr Kozelka added a comment - on Maven 3.0.3, requirePluginVersions is still not working. Is there any better way to reach the functionality ? Is Jeff's patch considered wrong ? Just to remind, https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-AutomaticPluginVersionResolution states that it can be used to check for missing plugin versions in the POM. Right now that statement is false.
          Hide
          Vincent Massol added a comment -

          I'm also eagerly waiting for this one to be fixed...

          Show
          Vincent Massol added a comment - I'm also eagerly waiting for this one to be fixed...
          Hide
          Jaromír Cápík added a comment -

          Hello.
          I'm also interested in this topic. I'd like to fix that in Fedora, but as we don't want to maintain any local patches forever, it could be good to know if the proposed patch is going to be accepted or not.
          Please, let me know.
          Thank You.
          Regards,
          Jaromir.

          Show
          Jaromír Cápík added a comment - Hello. I'm also interested in this topic. I'd like to fix that in Fedora, but as we don't want to maintain any local patches forever, it could be good to know if the proposed patch is going to be accepted or not. Please, let me know. Thank You. Regards, Jaromir.
          Hide
          Ralf Eichinger added a comment -

          This issue is still valid since I've tried with maven 3.0.4 and enforcer-plugin 1.0.1.
          Still it is not possible to use the <requirePluginVersions> section, so also the documentation at http://maven.apache.org/enforcer/enforcer-rules/requirePluginVersions.html seems to be simply wrong.

          Show
          Ralf Eichinger added a comment - This issue is still valid since I've tried with maven 3.0.4 and enforcer-plugin 1.0.1. Still it is not possible to use the <requirePluginVersions> section, so also the documentation at http://maven.apache.org/enforcer/enforcer-rules/requirePluginVersions.html seems to be simply wrong.
          Hide
          Paul Gier added a comment -

          Applied patch with minor changes in r1335846

          Show
          Paul Gier added a comment - Applied patch with minor changes in r1335846

            People

            • Assignee:
              Paul Gier
              Reporter:
              Anders Hammar
            • Votes:
              25 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: