John Fallows wrote:

>Now Maven2 looks to be a significant improvement, keep up the good work!
>  
>
Thanks!

>Q. Is the layout of the "target" directory standardized consistently
>with the "src" directory for generated sources?
>  
>
Yes, but not in the way you have written. The recommended format is:

generated-sources/<short-plugin-name>/...
eg:
generated-sources/modello/org/apache/maven/model/Model.java

(of course, this can be set to something different in the POM by the user).

It really shouldn't have to be too much of a worry for the plugin
developer: you take it as input once, and after generation add it to the
list of compile source roots in the project, and that is used everywhere
else. Any time you need to configure a value twice should raise a
warning flag about why it is being repeated :)

Cheers,
Brett


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

Reply via email to