maven 1.0.2...

I'm having a bit of a struggle with a project that does not contain any java source files, only WSDL for a 3rd party WS that several other projects will be interacting with.

I'm using the axis plugin to generate java source from the wsdl. I would like the artifact of the project to be the compiled generated java files. The axis plugin also generates JUnit test cases that I would like run during the build.

My struggle is, if no "real" source exists the java:compile goal states there are no source files and compiles nothing and the jar:jar goal goes on to create an empty jar. Looking into the axis plugin.jelly it does attempt to add it's generated output dir to maven.compile.src.set, but as far as I can tell this isn't working, or is simply ineffective.

I'm very tempted to setup the build section of the project.xml to simply point to the appropriate dirs under target (e.g., target/axis/build, target/axis/test) but this smells bad to me.

I will be going through a similar generated-source project setup but with schemas and castor, so I'd like to know what the best practice is.

TIA,
Doug

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

Reply via email to