You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hermod Opstvedt (JIRA)" <ji...@codehaus.org> on 2006/11/21 14:51:31 UTC
[jira] Created: (MNG-2673) Change accessor of setFile in
JarAnalyzer of maven-shared-jar
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
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
[jira] Closed: (MNG-2673) Change accessor of setFile in JarAnalyzer
of maven-shared-jar
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl closed MNG-2673.
------------------------------
Assignee: (was: Joakim Erdfelt)
Resolution: Duplicate
> 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
> 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
[jira] Commented: (MNG-2673) Change accessor of setFile in
JarAnalyzer of maven-shared-jar
Posted by "Hermod Opstvedt (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Reopened: (MNG-2673) Change accessor of setFile in
JarAnalyzer of maven-shared-jar
Posted by "Hermod Opstvedt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2673?page=all ]
Hermod Opstvedt reopened MNG-2673:
----------------------------------
See comment
> 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
[jira] Closed: (MNG-2673) Change accessor of setFile in JarAnalyzer
of maven-shared-jar
Posted by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2673?page=all ]
Joakim Erdfelt closed MNG-2673.
-------------------------------
Resolution: Duplicate
> 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