maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janos Mucsi <muc...@yahoo.com>
Subject XDoclet in Maven
Date Sat, 13 Nov 2004 01:10:56 GMT

Hi 
I have this in my maven.xml:

<project default="foobar-dist" xmlns:ant="jelly:ant"
                               
xmlns:maven="jelly:maven">
   <goal name="opcert-dist">
     <attainGoal name="ejb:install" />
   </goal>

   <preGoal name="java:compile">
       <ant:echo>java:compile executing</ant:echo>
       <ant:taskdef name="ejbdoclet"
classname="xdoclet.modules.ejb.EjbDocletTask">
            <ant:classpath>
				<ant:pathelement
path="${pom.dependencyClasspath}"/>
                <ant:path
refid="maven.dependency.classpath"/>
            </ant:classpath>
        </ant:taskdef>

The project.xml contains all XDoclet references:

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


Still I am getting  this:
C:\temp\eclipse\PlutoApp\modules\everest-module-registration>maven
ejb:install
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.1

build:start:

ejb:init:
java:prepare-filesystem:

java:compile:
    [echo] java:compile executing

BUILD FAILED
File......
C:\temp\eclipse\PlutoApp\modules\everest-module-registration\maven.xm
l
Element... ant:taskdef
Line...... 9
Column.... 84
taskdef class xdoclet.modules.ejb.EjbDocletTask cannot
be found
Total time: 3 seconds
Finished at: Fri Nov 12 17:10:14 PST 2004

Any ideas?

Thanks.

Janos



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message