I think you are specifiying the wrong plugin, should be :-

<artifactId>xdoclet-maven-plugin</artifactId>
 <groupId>org.codehaus.mojo</groupId>

also I found the ejbdoclet snipped needs to be as follows, otherwise
the source gets generated but not picked up by the compile step :-

 ...
 <ejbdoclet destdir="${project.build.directory}/generated-sources/xdoclet">

Pete


On 24/10/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm still having problem i'm getting this error, can u please help me
>
> org.apache.maven.lifecycle.LifecycleExecutionException: 'xdoclet' was
> specified in an execution, but not found in the plugin
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindExecutionToLifecycle(DefaultLifecycleExecutor.java:1180)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1081)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:869)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:447)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(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:324)
>        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)
>
> my pom is
>
>                                <plugin>
>                                        
> <artifactId>maven-antrun-plugin</artifactId>
>                                        
> <groupId>org.apache.maven.plugins</groupId>
>                                        <version>1.0</version>
>                                        <executions>
>                                                <execution>
>                                                        <goals>
>                                                                
> <goal>xdoclet</goal>
>                                                        </goals>
>                                                        
> <phase>generate-sources</phase>
>                                                        <configuration>
>                                                                <tasks>
>                                                                        
> <ejbdoclet destdir="/Raghu/xout">
>  <fileset dir="/Raghu/Ejb/" includes="**/*Bean.java" />
>  <entitycmp destDir="/Raghu/xout" />
>  <deploymentdescriptor destDir="/Raghu/ddout" />
>                                                                        
> </ejbdoclet>
>                                                                </tasks>
>                                                        </configuration>
>                                                </execution>
>                                        </executions>
>                                </plugin>
>
>
>
>
>
>
> Thanks,
> Raghurajan Gurunathan
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to