Hi,

you need to add the directory as an additional source directory to the pom. So in your mojo you need to do something like this:

  project.addCompileSourceRoot( dir );

-Tim

Roy van der Kuil schrieb:
Hi all,

I am in the progress of updating a maven plugin for UIC (uic.sf.net) which I
use in the company I work for very often. It's goal is to convert
qt-designer files (*.ui) into java files using the UICcompiler. So far so
good. My problem is that currently it writes the generated java files into
the src/main/java directory and I would like that to be the
target/generated-sources/uic. This would solve some problems I have
(cleaning up generated java files of ui files that no longer exist for
example).
I managed to change the output directory but the problem is maven compile
doesn't notice these java files. Is there something I need to change as
well?

Kind regards
Roy



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

Reply via email to