Hi, Thanks for tip! I changed the antrun dependency to be:
<dependency> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.0</version> </dependency> And now it works. Really annoying bug. /Kevin -----Original Message----- From: Pete [mailto:[EMAIL PROTECTED] Sent: 24 October 2005 13:11 To: Maven Users List Subject: Re: xdoclet-maven-plugin > maven2 There is another post that gives a workaround to this problem, I quote "I found a workaround for this problem by changing all references to 2.0-beta-1 to 2.0 in pom xdoclet-maven-plugin-1.0-alpha-1.pom in my repository. Not sure that it's the cleanest solution, but it work for me. The public svn repository for xdoclet-maven-plugin is inaccessible so I can't rebuild the plugin." However I found this didn't quite work for me, I had to also change all references of 1.0-beta-1 to just 1.0 as well. Search for '[m2] xdoclet help' for the other post. I guess this changes needs to become permanent ? On 24/10/05, Ief Berben <[EMAIL PROTECTED]> wrote: > Yeah > > 2005/10/22, Brett Porter <[EMAIL PROTECTED]>: > > > > m2 version? > > > > On 10/21/05, Ief Berben <[EMAIL PROTECTED]> wrote: > > > When I try to execute the following plugin: > > > > > > <plugin> > > > <artifactId>xdoclet-maven-plugin</artifactId> > > > <groupId>org.codehaus.mojo</groupId> > > > <version>1.0-alpha-1</version> > > > <executions> > > > <execution> > > > <goals> > > > <goal>xdoclet</goal> > > > </goals> > > > <phase>generate-sources</phase> > > > <configuration> > > > <tasks> > > > <ejbdoclet destdir="${project.build.outputDirectory}"> > > > <fileset dir="${basedir}/src/main/java" includes="**/*Bean.java"/> > > > <entitycmp destDir="${project.build.outputDirectory}"/> > > > <deploymentdescriptor destDir="${project.build.outputDirectory > > }/META-INF"/> > > > </ejbdoclet> > > > </tasks> > > > </configuration> > > > </execution> > > > </executions> > > > </plugin> > > > > > > in maven2 I get an abstractMethodError : > > > > > > [INFO] Scanning for projects... > > > [INFO] > > > > > ---------------------------------------------------------------------------- > > > [INFO] Building Maven Quick Start Archetype > > > [INFO] task-segment: [package] > > > [INFO] > > > > > ---------------------------------------------------------------------------- > > > [INFO] > > > > > ---------------------------------------------------------------------------- > > > [ERROR] FATAL ERROR > > > [INFO] > > > > > ---------------------------------------------------------------------------- > > > [INFO] null > > > [INFO] > > > > > ---------------------------------------------------------------------------- > > > [INFO] Trace > > > java.lang.AbstractMethodError > > > at > > > > > org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.c onfigure > > > (ComponentValueSetter.java:247) > > > at > > > > > org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFi eldsConverter.processConfiguration > > > (ObjectWithFieldsCon > > > verter.java:137) > > > at > > > > > org.codehaus.plexus.component.configurator.BasicComponentConfigurator.config ureComponent > > > (BasicComponentConfigurator.java:56) > > > at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields( > > > DefaultPluginManager.java:1038) > > > at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo( > > > DefaultPluginManager.java:563) > > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo( > > > DefaultPluginManager.java:377) > > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > > > DefaultLifecycleExecutor.java:519) > > > at > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle > > > (DefaultLifecycleExecutor.java:469) > > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( > > > DefaultLifecycleExecutor.java:448) > > > at > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail ures > > > (DefaultLifecycleExecutor.java:301) > > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( > > > DefaultLifecycleExecutor.java:268) > > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( > > > DefaultLifecycleExecutor.java:137) > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113) > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > > > 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) > > > [INFO] > > > > > ---------------------------------------------------------------------------- > > > [INFO] Total time: 4 seconds > > > [INFO] Finished at: Fri Oct 21 12:58:04 CEST 2005 > > > [INFO] Final Memory: 3M/8M > > > [INFO] > > > > > ---------------------------------------------------------------------------- > > > > > > Does anybody have an idea on this one ? > > > > > > tnx, > > > > > > [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]