[ http://jira.codehaus.org/browse/MENFORCER-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100174 ]
Brian Fox commented on MENFORCER-10: ------------------------------------ based on a conversation I had in IRC on this, it looks like you could put that component jar on the classpath of the enforcer and then try to load it. > 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 > > 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