Hi,

have a look at the build-helper-m-p:attach-source goal [1]. It shows how
to add additional source roots in code.

-Tim

[1] http://svn.codehaus.org/mojo/tags/mojo-16/build-helper-maven-plugin/src/main/java/org/codehaus/mojo/buildhelper/AddSourceMojo.java

Mark Miller schrieb:
I have written a plugin to generate some java classes, and would like to
compile them. They are generated into a separate directory under target, as they are
just transient files.
I haven't been able to figure out how to configure the
maven-compiler-plugin to compile these classes.
i.e. set the source directory for the compiler to something the default.
Any help would be appreciated Mark

If you have received this e-mail in error, please return it to the sender 
immediately and delete it and any attachments from your system. Morse plc is 
the UK holding company for various international subsidiaries trading as Morse. 
The registered office for Morse Group Limited (Company Number 2212268) and its 
UK group undertakings is Profile West, 950 Great West Road, Brentford, 
Middlesex TW8 9EE.  VAT Registration 673 0084 47.



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

Reply via email to