Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.9
-
Labels:None
Description
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
Issue Links
- depends upon
-
MAVEN-1778
change the visibility of methods MavenUtils.getNonJellyProject and MavenUtils.getJellyProject to public
-
Weird 1 : I didn't receive a notification when you opened this bug

Weird 2 : I never noticed this error whereas I often install plugins
Weird 3 : You're right and I don't understand how it could have work before
Question : What is environment ? Maven, Os, JDK, ....