In new maven plugin there is a strategy to update compilation path
automatically.

E.g.:

<!--
        In order to make it easier for the user of the XDoclet plugin, we
automatically add the
        destination folder to the compile path. This way, people don't have
to deal with maven:addPath in their own
        maven.xml scripts. This has been tested with Maven from CVS HEAD on
2002.12.15. (AH)
        -->
        <path id="ejbdoclet.java.compile.src.set"
location="${maven.build.dir}/xdoclet/ejbdoclet"/>
        <maven:addPath id="maven.compile.src.set"
refid="ejbdoclet.java.compile.src.set"/>


I like this approach. Only remark : I propose to use properties like:

maven.xdoclet.ejbdoclet.destDir instead of
${maven.build.dir}/xdoclet/ejbdoclet"

Michal


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to