Brett Porter wrote:
This shouldn't have broken - needs investigation.
A while back, we agreed to add a feature to 2.0.5 (the implementation
attribute).
The plugin plugin was updated to use the new tools and such. However, it
also has a prereq of maven 2.0.5, so maven 2.0.4 and below which give
this error should use the previous version of the plugin.
Are you saying that I need to use Maven 2.0.5 SNAPSHOT to build all
plugins from now on?
I prefer to stay on the released version of Maven as long as possible,
to make sure that I have the same environment as most users do. But I
see the chicken-and-egg problem here.
If the plugin plugin has a prereq on Maven 2.0.5 shouldn't it give some
sort of understandable error message to the user if he/she tries to run
it with Maven 2.0.4, instead of just a stack trace?
--
Dennis Lundberg
- Brett
On 13/07/2006 9:45 AM, Edwin Punzalan wrote:
I remember submitting patches to maven-plugin-tools-java and
maven-plugin-tools-api to reformat the plugin parameter pages... those
updates could be them.
^_^
Dennis Lundberg wrote:
I went back and checked my session to see what happened just before
things stopped working. Here's what I found:
Downloading:
http://svn.apache.org/maven-snapshot-repository/org/apache/maven/maven-plugin-tools-java/2.0.5-SNAPSHOT/maven-plugin-tools-java-2.0.5-20060712.135652-2.jar
10K downloaded
Downloading:
http://svn.apache.org/maven-snapshot-repository/org/apache/maven/maven-plugin-tools-beanshell/2.0.5-SNAPSHOT/maven-plugin-tools-beanshell-2.0.5-20060712.135652-2.jar
9K downloaded
Downloading:
http://svn.apache.org/maven-snapshot-repository/org/apache/maven/maven-plugin-tools-api/2.0.5-SNAPSHOT/maven-plugin-tools-api-2.0.5-20060712.135652-4.jar
25K downloaded
Dennis Lundberg wrote:
Hi all
Someone seems to have broken something in the trunk. A lot of
plugins are failing in continuum. They all have similar error
messages. Does anyone know what might be wrong?
I get the same error when I try to build the plugins locally. I'm
not sure if this is true for all plugins, but the ones I have tried
so far all fail: javadoc, jar, source, deploy.
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO]
org.apache.maven.plugin.descriptor.Parameter.setImplementation(Ljava/lang/String;)V
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoSuchMethodError:
org.apache.maven.plugin.descriptor.Parameter.setImplementation(Ljava/lang/String;)V
at
org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor.extractParameters(JavaMojoDescriptorExtractor.java:431)
at
org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor.createMojoDescriptor(JavaMojoDescriptorExtractor.java:303)
at
org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor.execute(JavaMojoDescriptorExtractor.java:500)
at
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor(DefaultMojoScanner.java:69)
at
org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGeneratorMojo.java:99)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]