Try this:
<project
xmlns:ant="jelly:ant"
xmlns:define="jelly:define"
xmlns:doc="doc"
xmlns:j="jelly:core"
xmlns:util="jelly:util"
xmlns:log="jelly:log">
<goal name="maven-ydoc-plugin:register">
<j:if test="${sourcesPresent}">
<doc:registerReport
name="Ydoc-JavaDocs"
pluginName="maven-ydocdoc-plugin"
link="apidocs/index"
description="Ydoc JavaDoc API documentation."/>
<doc:registerReport
name="YDoc-JavaDoc Report"
pluginName=""
link="ydoc"
description="Report on the generation of JavaDoc."/>
</j:if>
</goal>
<goal name="maven-ydocdoc-plugin:deregister">
<doc:deregisterReport name="Ydoc-JavaDocs"/>
<doc:deregisterReport name="Ydoc-JavaDoc Report"/>
</goal>
<goal name="ydoc" description="Generates Javadoc including cool UML
diagrams">
<property name="ps" value="${path.separator}"/>
<util:replace newChar="/" oldChar="." value="${pom.package}"
var="basePackage"/>
<echo>${basePackage}</echo>
<javadoc
destdir="doc/api"
author="true"
additionalparam="-Djava.awt.headless=true">
<ant:classpath>
<ant:path refid="maven.dependency.classpath"/>
<ant:path location="${maven.build.dest}"/>
</ant:classpath>
<packageset
dir="${pom.build.sourceDirectory}">
<include name="${basePackage}/**"/>
</packageset>
<doclet
name="ydoc.doclets.YStandard">
<ant:path>
<j:forEach var="lib" items="${pom.artifacts}">
<ant:path
location="${maven.repo.local}/${lib.dependency.artifactDirectory}/jars/${lib
.name}"/>
</j:forEach>
<ant:pathelement
location="${maven.repo.remote.dir}ydoc/resources"/>
<ant:pathelement location="${maven.build.dest}"/>
</ant:path>
<param name="-generic" value=""/>
<param name="-umlautogen" value=""/>
<param name="-filter"
value="ydoc.filters.ExcludeFilter"/>
<param name="-tag"
value="y.precondition"/>
<param name="-tag"
value="y.postcondition"/>
<param name="-tag"
value="y.complexity"/>
<param name="-tag" value="param"/>
<param name="-tag" value="return"/>
<param name="-tag" value="see"/>
<param name="-tag" value="y.uml"/>
<param name="-breakiterator"/>
</doclet>
</javadoc>
</goal>
</project>
I guess this could get some improvments due to here are some more adavanced
jelly hackers than me, but it works for me.
This plugin needs ${maven.repo.remote}ydoc/resources which contains the YDoc
licence.
Bye
Toby
> -----Urspr�ngliche Nachricht-----
> Von: S. Radhakrishnan [mailto:[EMAIL PROTECTED]
> Gesendet am: Donnerstag, 26. Juni 2003 15:08
> An: 'Maven Users List'
> Betreff: Is there any way to integrate yDoc with Maven
>
> Hi,
>
> I already posted this question.. but still not got any valid reply...
>
> Is there any way to have yDoc integrated with maven..???
>
>
> Regards,
> RK
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]