Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-10

EnforcerRuleHelper#getComponent() throws exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-alpha-4
    • Rule API
    • None
    • Windows XP, maven version 2.0.6.

    Description

      I'm trying to use EnforcerRuleHelper#getComponent() like the example in http://maven.apache.org/shared/maven-enforcer-rule-api/writing-a-custom-rule.html. I'm trying to get the ProjectDependencyAnalyzer component, however, the lookup fails with a ComponentLookupException. I could not find any documentation about how to fix this or if there is any additional configuration I need to specify.

      Attachments

        Activity

          People

            brianf Brian E Fox
            samyron Scott Myron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: