Hi,
I'm new to
Maven and I'm trying to work out how to get it to perform a pre-compilation step of turning IDL files into generated
java files before compiling them. I can find virtually no documentation on it online so I'd appreciate some pointers.
I'm thinking I need a structure like...
/project
pom.xml
/src
/main
/java (my source code)
/idl (resource that I don't want copied to target)
/resources (files I do want copied to target)
/target
/classes
/generated
/src (where my generated source files will go)
I also want to use the JacORB compiler rather than the standard Sun compiler for the CORBA files. Other than it being "something" that I need to put in the build section of my pom.xml, I am clueless as to how I specify the order (i.e. generate java files first) and then configure where the target directory is and that I want to use TIE.
I think I need to use the "Maven CORBA IDL Compiler Plugin", idlj-maven-plugin-1.0. But I don't know how.
I have it working in Ant. Any help getting it working with Maven would be greatly appreciated.
PK