Brett,

On 7/19/05, Brett Porter <[EMAIL PROTECTED]> wrote:
> Loïc Lefèvre wrote:
> 
> >For example, every plugin generating Java source files named XXX will
> >generate the files (by default) into target/generated/XXX/ and also
> >update the source path for futur compilation and might also update
> >.iml files (speaking of IntelliJ IDEA too).
> >
> >
> That's exactly what already happens (try it :). I think the path is
> target/generated-sources/PLUGIN-NAME/

If the PLUGIN-NAME is the plugin artifactId, doesn't this lead to
collisions when plugins only differ by groupId?

I'm curious, why don't we have a single standard output location for
generated sources across all plugins, just like we do for checked in
sources under ${pom.basedir}/src?

For example
  src/
    main/
      java/
      resources/
    test/
      java/
      resources/
  target/
    generated-src/
      main/
        java/
        resources/
      test/
        java/
        resources/
etc.

One obvious answer is to avoid collisions, but I'm not sure that
matters if all the various generated sources need to end up in the
same JAR anyway.

Your thoughts?

Kind Regards,
John Fallows.

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

Reply via email to