Hi,

this seems to be an xdoclet problem so I think you'll get more support
on the xdoclet-user mailing list. Anyway, I'm using XDoclet to
generate EJB classes and Hibernate mappings and it's true that the
setup of my maven build has been a little bit touchy so lets see if I
can help you.

What is the version of your maven-xdoclet-plugin (doesn't seem to be
installed in fact) ? Did you add the xdoclet-ejb-module dependency in
your project.xml ? Could you please run maven again using the -X
option and send the trace.

I'm using maven  v. 1.0.1-SNAPSHOT with
maven-xdoclet-plugin-1.2.1.jar. I have this in my project.xml :

    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-ejb-module</artifactId>
      <version>1.2.1</version>
      <type>jar</type>
      <properties>
        <eclipse.dependency>false</eclipse.dependency>
      </properties>
    </dependency>

    <dependency>
      <groupId>xdoclet</groupId>
      <artifactId>xdoclet-hibernate-module</artifactId>
      <version>1.2.1</version>
      <type>jar</type>
      <properties>
        <eclipse.dependency>false</eclipse.dependency>
      </properties>
    </dependency>

You might have to add various modules and their dependencies depending
on what you're doing . Use the -X option to find the right one if you
have some pbs.

*With this configuration*, XDoclet works fine on my machines (but
doesn't with the 1.2.2 version of xdoclet stuf).

On Wed, 10 Nov 2004 14:59:47 -0800 (PST), Janos Mucsi <[EMAIL PROTECTED]> wrote:
> Hi
> I have this in my maven.xml:
> 
> <project default="foobar-dist" xmlns:m="jelly:maven"
>                                 xmlns:ant="jelly:ant"
> 
> xmlns:xdoclet="jelly:xdoclet">
>    <goal name="opcert-dist">
>      <attainGoal name="ejb:install" />
>    </goal>
> 
>    <preGoal name="java:compile">
>     <ant:echo>java:compile executing</ant:echo>
>       <attainGoal name="xdoclet:ejbdoclet"/>
>    </preGoal>
> 
> </project>
> 
> When I run maven ejb:install I get:
> BUILD FAILED
> File......
> C:\temp\eclipse\PlutoApp\modules\everest-module-registration\maven.xm
> l
> Element... attainGoal
> Line...... 10
> Column.... 45
> No goal [xdoclet:ejbdoclet]
> 
> Can anybody please help? Thanks.
> J
> 
> __________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Pascal

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

Reply via email to