You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2006/08/15 01:43:49 UTC

[jira] Closed: (MPARTIFACT-70) java.lang.IllegalAccessException in artifact:artifact-install

     [ http://jira.codehaus.org/browse/MPARTIFACT-70?page=all ]

Arnaud Heritier closed MPARTIFACT-70.
-------------------------------------

      Assignee: Arnaud Heritier
    Resolution: Fixed

Fixed but the problem isn't in the plugin. It's solved by MAVEN-1778 which is available in maven >= 1.1 RC1

> java.lang.IllegalAccessException in artifact:artifact-install
> -------------------------------------------------------------
>
>                 Key: MPARTIFACT-70
>                 URL: http://jira.codehaus.org/browse/MPARTIFACT-70
>             Project: maven-artifact-plugin
>          Issue Type: Bug
>    Affects Versions: 1.8
>            Reporter: dion gillard
>         Assigned To: Arnaud Heritier
>             Fix For: 1.8.1
>
>
> I get the following when installing a plugin:
> --- Nested Exception ---
> java.lang.IllegalAccessException: org/apache/maven/MavenUtils
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:79)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:41)
>         at java.lang.reflect.Method.invoke(Method.java:386)
>         at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
> ava:85)
>         at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
> a:50)
>         at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
> all(DefaultArtifactDeployer.java:165)
> From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static 

-- 
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