... as a workaround, but as Jesse was saying, we don't recommend this
in general as it will throw off the representation of what the project
is.

The best solution is still to have a plugin add the compile source root.

- Brett

On 11/17/05, John Tolentino <[EMAIL PROTECTED]> wrote:
> 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]
>
>

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

Reply via email to