As you have probably noticed for the last couple of days I was struggling with XDoclet plugin.
What I did is I downloaded their 1.2 version, created xdoclet/jars directory in my local repository,
copied over the jars that come with the xdoclet. I then copied xdoclet's maven-plugin jar to my plugins
directory.


I created project.xml and maven.xml (they are both pasted at the end of this message). The problem
I am having has something to do with the xjavadoc dependency. Right now xjavadoc-1.0.2.jar is
in my ${maven.repo.local}/xdoclet/jars/ directory and when I run maven I am getting an error saying
that xjavadoc-1.0.2 can not be resolved. When I move the jar to ${maven.repo.local}/xjavadoc/jars/
directory I am able to build nicely. Basically it is no big deal I just hate to keep xjavadoc separately
from xdoclet. Does anyone know where I might need to start looking, to fix this?


my project.xml
<project default="java:compile">
<id>gls-model</id>
<currentVersion>1.0</currentVersion>
<build>
<sourceDirectory>
${basedir}/src/java
</sourceDirectory>
</build>
<dependencies>
<dependency>
<artifactId>xdoclet-hibernate-module</artifactId>
<groupId>xdoclet</groupId>
<version>1.2</version>
<type>jar</type>
</dependency> <dependency>
<artifactId>xdoclet</artifactId>
<groupId>xdoclet</groupId>
<version>1.2</version>
<type>jar</type>
</dependency>
<dependency>
<artifactId>xjavadoc</artifactId>
<groupId>xdoclet</groupId>
<version>1.0.2</version>
<type>jar</type>
</dependency> </dependencies>
</project>


my maven.xml:
<project default="java:compile">
   <preGoal name="java:compile">
       <attainGoal name="xdoclet:hibernatedoclet"/>
   </preGoal>
</project>



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



Reply via email to