I'm having some troubles with the xdoclet plugin... After a bit of stuffing around I had both the hibernatedoclet and ejbdoclet gaols working. Now I'm trying to incorporate the XDoclet IBM websphere module into the equation and everything dies.
I haven't been able to find any decent docs on how to set this up so it's been a process of trial and error. When I add the dependency <dependency> <groupId>xdoclet</groupId> <artifactId>xdoclet-ibm-module</artifactId> <version>1.2b4</version> </dependency> to my project.xml maven no longer seems to be able to execute the hibernatedoclet and ejbdoclet goals. If I remove the dependancy it alls works again.
Does anyone have any ideas or know of any examples/docs I could use?
I've attached my project.xml, maven.xml and project.properties files.
The problem seems to occur with both RC1 and RC2 (although I'm using RC1 as the hibernotedoclet complains about something missing).
Cheers, Dan
<?xml version="1.0"?>
<project>
<extend>${basedir}/../project.xml</extend>
<id>mind-services</id>
<name>Mind Services Framework</name>
<package>org.reactive.mind.service.*</package>
<description>Services JAR project.</description>
<shortDescription>Services JAR project</shortDescription>
<dependencies>
<dependency>
<groupId>hibernate</groupId>
<artifactId>hibernate</artifactId>
<version>2.1.2</version>
</dependency>
<dependency>
<groupId>j2ee</groupId>
<artifactId>j2ee</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-hibernate-module</artifactId>
<version>1.2b4</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-ejb-module</artifactId>
<version>1.2b4</version>
</dependency>
<dependency>
<groupId>xdoclet</groupId>
<artifactId>xdoclet-ibm-module</artifactId>
<version>1.2b4</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.8</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>aspectj</groupId>-->
<!-- <artifactId>aspectjrt</artifactId>-->
<!-- <version>1.1.1</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>aspectj</groupId>-->
<!-- <artifactId>aspectjtools</artifactId>-->
<!-- <version>1.1.1</version>-->
<!-- </dependency>-->
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
</dependency>
</dependencies>
</project><project default="mind-dist" xmlns:m="jelly:maven">
<preGoal name="java:compile">
<echo message="---> java:compile"/>
<attainGoal name="xdoclet:hibernatedoclet"/>
<attainGoal name="xdoclet:ejbdoclet"/>
<!--<attainGoal name="aspectj:compile"/>-->
</preGoal>
<preGoal name="java:jar-resources">
<echo message="---> java:jar-resources"/>
<copy todir="${maven.build.dest}">
<fileset dir="${maven.xdoclet.hibernatedoclet.destDir}"/>
<fileset dir="${maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir}/.."/>
</copy>
</preGoal>
<goal name="mind-dist">
<echo message="---> mind-dist"/>
<attainGoal name="jar:install"/>
</goal>
</project>#pom.build.aspectSourceDirectory=${maven.src.dir}/aspect
maven.junit.fork=true
#hibernate doclet properties
maven.xdoclet.hibernatedoclet.destDir=${maven.build.dir}/xdoclet/hibernatedoclet
maven.xdoclet.hibernatedoclet.fileset.0=true
maven.xdoclet.hibernatedoclet.fileset.0.dir=${maven.src.dir}/java
maven.xdoclet.hibernatedoclet.fileset.0.include=**/*.java
maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0
#ejbdoclet properties
maven.xdoclet.ejbdoclet.destDir=${maven.build.dir}/xdoclet/ejbdoclet
maven.xdoclet.ejbdoclet.fileset.0=true
maven.xdoclet.ejbdoclet.fileset.0.include=**/*Service.java
maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true
maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir=${maven.build.dir}/xdoclet/ejb/META-INF
maven.xdoclet.ejbdoclet.entitybmp.0=false
maven.xdoclet.ejbdoclet.entitycmp.0=false
maven.xdoclet.ejbdoclet.entitypk.0=false
maven.xdoclet.ejbdoclet.homeinterface.0=true
maven.xdoclet.ejbdoclet.localhomeinterface.0=true
maven.xdoclet.ejbdoclet.localinterface.0=true
maven.xdoclet.ejbdoclet.remoteinterface.0=true
maven.xdoclet.ejbdoclet.session.0=true
maven.xdoclet.ejbdoclet.utilobject.0=true
maven.xdoclet.ejbdoclet.ibm.0=true
#aspectj properties
#maven.compile.aspects=true
#maven.compile.executable=jikes
maven.compile.target=1.4
#maven.compile.verbose=false
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
