You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Kanchana Welagedara <ka...@opensource.lk> on 2006/06/29 10:40:30 UTC

Problem with building an application with Maven using xdoclet

Hi

I'm working on an application to deploy in Geronimo.This application
includes  ejb,struts and JSP.I use maven to build the application.There
is no errors in the application.At the following lines it throws a build
failed and I have attached the screen shot

 <preGoal name="java:compile">
        <attainGoal name="xdoclet:ejbdoclet"/>
    </preGoal>

    <preGoal name="war:init">
        <attainGoal name="xdoclet:webdoclet"/>
    </preGoal>

can any one please help me to get over from this and build this
application with Maven?

Regards
Kanchana

Re: Problem with building an application with Maven using xdoclet

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 6/29/06, Kanchana Welagedara <ka...@opensource.lk> wrote:

> I'm working on an application to deploy in Geronimo.This application
> includes  ejb,struts and JSP.I use maven to build the application.There
> is no errors in the application.At the following lines it throws a build
> failed and I have attached the screen shot
>
>  <preGoal name="java:compile">
>         <attainGoal name="xdoclet:ejbdoclet"/>
>     </preGoal>
>
>     <preGoal name="war:init">
>         <attainGoal name="xdoclet:webdoclet"/>
>     </preGoal>
>
> can any one please help me to get over from this and build this
> application with Maven?

I think you need to declare dependency in your project.xml file so
that the plugin can be found and executed. I'm pretty sure the error
is due to Geronimo not being started and deployment fails. Just a
guess, but might help.

        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-deployment-plugin</artifactId>
            <version>${geronimo_deployment_plugin_version}</version>
            <type>plugin</type>
        </dependency>

Please use user mailing list for such questions.

> Kanchana

Jacek

-- 
Jacek Laskowski
http://www.laskowski.net.pl