I'm in the midst of converting some fairly complex ant-based J2EE
projects to Maven2.  One thing I need to do is generate some Java source
from some Flavor source files (http://flavor.sf.net) in the
'generate-sources' phase, so a Maven plugin for doing so seems the right
course.

But here's the rub:  the Flavor compiler -- the thing that turns *.fl
files into *.java -- doesn't have a Java interface.  It's a C++
executable.  So I have two questions...

1) Can I distribute the Flavor executable with my plugin?  I'm pretty
sure the license allows it, but I don't understand the Maven mechanism
for distributing plugin resources.
2) How do I reference the location of the exe (in order to invoke it)
from the plugin when the generate-sources phase fires?

Thanks so much!
Jim

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

Reply via email to