[ http://jira.codehaus.org/browse/MNG-2673?page=comments#action_80896 ] Hermod Opstvedt commented on MNG-2673: --------------------------------------
After the cleanup in the maven-info-reports-plugin with respect to JarAnalyzer, the dependencis report is broken with an error referring to the JarAnalyzer. When running the report now I get the following: org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the pl ugin manager executing goal 'org.apache.maven.plugins:maven-project-info-reports -plugin:2.1-SNAPSHOT:dependencies': Unable to find the mojo 'org.apache.maven.pl ugins:maven-project-info-reports-plugin:2.1-SNAPSHOT:dependencies' in the plugin <snip/> Caused by: org.codehaus.plexus.component.composition.CompositionException: Compo sition failed for the field jarAnalyzerFactory in object of type org.apache.mave n.report.projectinfo.DependenciesReport at org.codehaus.plexus.component.composition.FieldComponentComposer.assi gnRequirementToField(FieldComponentComposer.java:144) at org.codehaus.plexus.component.composition.FieldComponentComposer.asse mbleComponent(FieldComponentComposer.java:73) at org.codehaus.plexus.component.composition.DefaultComponentComposerMan ager.assembleComponent(DefaultComponentComposerManager.java:68) at org.codehaus.plexus.DefaultPlexusContainer.composeComponent(DefaultPl exusContainer.java:1486) at org.codehaus.plexus.personality.plexus.lifecycle.phase.CompositionPha se.execute(CompositionPhase.java:29) ... 26 more Caused by: java.lang.IllegalArgumentException at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccess orImpl.java:63) at java.lang.reflect.Field.set(Field.java:656) at org.codehaus.plexus.component.composition.FieldComponentComposer.assi gnRequirementToField(FieldComponentComposer.java:137) ... 30 more Hermod > Change accessor of setFile in JarAnalyzer of maven-shared-jar > ------------------------------------------------------------- > > Key: MNG-2673 > URL: http://jira.codehaus.org/browse/MNG-2673 > Project: Maven 2 > Issue Type: Improvement > Components: Plugins and Lifecycle > Reporter: Hermod Opstvedt > Assigned To: Joakim Erdfelt > Attachments: jaranalyzer.patch > > > When renaming the Jar to JarAnalyzer, the accessor of setFile changed. The > maven-project-info-reports-plugin uses this method to the the jarfile to > analyze, so it need to be public. Attached is patch for it. -- 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