[ 
http://jira.codehaus.org/browse/MENFORCER-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Fox closed MENFORCER-10.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

Refactored the api to allow better access and used contextualize to get the 
real plugin container. I tested this with the dependency analyzer as a 
dependency in my plugin config and it's working now.

> EnforcerRuleHelper#getComponent() throws exception
> --------------------------------------------------
>
>                 Key: MENFORCER-10
>                 URL: http://jira.codehaus.org/browse/MENFORCER-10
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Bug
>          Components: Rule API
>         Environment: Windows XP, maven version 2.0.6.
>            Reporter: Scott Myron
>            Assignee: Brian Fox
>             Fix For: 1.0
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to