Hi Lee,

Include target/generated-sources/java in your pom.xml's |<sourceDirectory>| (http://maven.apache.org/maven-model/maven.html#class_build).

Regards,
John

Lee Meador wrote:

I've scanned the last couple of weeks' messages and I think I see what
is happening.

I have an ant task that generates java from a wsdl using Websphere 6.0's
ant tasks to do so. It's similar to the Axis ones.

I have it generate the java into target/generated-sources/java.

The generated code doesn't get compiled when I do a
mvn compile

I think the problem is that generated-sources doesn't get added to the
compileSourceRoots since they are being generated in ant.

So ... can I run some useless plugin with no input and get the
generated-sources added to the list of roots? Is there some other way to
get it to look there?

Thanks.

-- Lee Meador


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



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

Reply via email to