You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Peter L. Berghold" <Pe...@berghold.net> on 2005/10/06 21:21:30 UTC
cannot find xdoclet.modules.ejb.EjbDocletTask. Huh?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I recently installed xdocklet on my laptop and plan to use it with maven
to do some projects. I set up a very simple maven specification:
<?xml version="1.0"?>
<project default="war">
<preGoal name="java:compile">
<attainGoal name="xdoclet:ejbdoclet"/>
<attainGoal name="xdoclet:jmxdoclet"/>
<attainGoal name="xdoclet:webdoclet"/>
<attainGoal name="xdoclet:hibernatedoclet"/>
</preGoal>
</project>
I set up my ~/build.properties file to include the jar that contains the
EjbDocletTask and let her rip.
When I do I get:
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Tag library requested that is not present: 'maven' in plugin:
'maven-xdoclet-plugin-1.2'
BUILD FAILED
File...... /home/pberghol/.maven/cache/maven-xdoclet-plugin-1.2/plugin.jelly
Element... taskdef
Line...... 5746
Column.... 81
taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
Total time: 11 seconds
Finished at: Thu Oct 06 15:13:23 EDT 2005
OK... what gives? What am I doing wrong here? I know it has to be
me... but what am I doing wrong?
I'm using maven version 1.0.2 at the moment.
- --
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Peter L. Berghold Peter@Berghold.Net
"Those who fail to learn from history are condemned to repeat it."
AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDRXk6UM9/01RIhaARAo/qAJ9U+3zDaAcuP6NOMujVETlRx/9edwCfTC5R
7CdADtNaKnmH3lfw097Nt0k=
=Hq+G
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: cannot find xdoclet.modules.ejb.EjbDocletTask. Huh?
Posted by Rault David <da...@prima-solutions.com>.
Hi i've had quite a tough ride on this one too
here's what i found :
you need to explicitly define a lot of dependencies towards xdoclet & co
here's what i need to declare to have xdoclet run ejbdoclet
<dependency>
<groupId>xdoclet</groupId>
<artifactId>maven-xdoclet-plugin</artifactId>
<version>1.2.1</version>
<type>plugin</type>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-xdoclet-module</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-ejb-module</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-web-module</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-jmx-module</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xjavadoc</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-jboss-module</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-bea-module</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-ibm-module</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jbossall-client</artifactId>
<version>3.2.3</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss</artifactId>
<version>3.2.3</version>
</dependency>
Note1: you need the dependencies more dependencies if you generate the
manifest & deployment descriptors for other app servers than jboss!
Note2: i'm using this with m1.1b1 (so the versions might not be the
right ones for m1.0.2)
hope this will help!
David
Le jeudi 06 octobre 2005 à 15:21 -0400, Peter L. Berghold a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I recently installed xdocklet on my laptop and plan to use it with maven
> to do some projects. I set up a very simple maven specification:
>
> <?xml version="1.0"?>
>
> <project default="war">
>
> <preGoal name="java:compile">
> <attainGoal name="xdoclet:ejbdoclet"/>
> <attainGoal name="xdoclet:jmxdoclet"/>
> <attainGoal name="xdoclet:webdoclet"/>
> <attainGoal name="xdoclet:hibernatedoclet"/>
> </preGoal>
>
> </project>
>
> I set up my ~/build.properties file to include the jar that contains the
> EjbDocletTask and let her rip.
>
> When I do I get:
>
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> Tag library requested that is not present: 'maven' in plugin:
> 'maven-xdoclet-plugin-1.2'
>
> BUILD FAILED
> File...... /home/pberghol/.maven/cache/maven-xdoclet-plugin-1.2/plugin.jelly
> Element... taskdef
> Line...... 5746
> Column.... 81
> taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
> Total time: 11 seconds
> Finished at: Thu Oct 06 15:13:23 EDT 2005
>
>
> OK... what gives? What am I doing wrong here? I know it has to be
> me... but what am I doing wrong?
>
> I'm using maven version 1.0.2 at the moment.
>
> - --
> ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> Peter L. Berghold Peter@Berghold.Net
> "Those who fail to learn from history are condemned to repeat it."
> AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFDRXk6UM9/01RIhaARAo/qAJ9U+3zDaAcuP6NOMujVETlRx/9edwCfTC5R
> 7CdADtNaKnmH3lfw097Nt0k=
> =Hq+G
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org