matthiasblaesing commented on issue #3690:
URL: https://github.com/apache/netbeans/issues/3690#issuecomment-1059520725


   The generated project structure looks strange on the verge of broken. When I 
use a maven project and generate code (for example from annotations), it is 
common, that the generated code is placed in:
   
   `target/generated-sources/<name_of_generator_or_custom_set>/<packages>`
   
   In the case of your sample, a whole maven project is generated in 
`target/generated-sources/<name_of_generator_or_custom_set>` (there is even a 
pom.xml there). This is irritating and IMHO broken. The code generator for 
maven should do just that: generate code, not whole projects. Generating 
projects might be helpful for POM projects, but even then the placement looks 
broken.
   
   I found an option to change the source base, but I'm missing an option to 
surpress the wrongly created pom.xml. I did not look into the code, but I 
assume, that NetBeans detects the pom.xml and assumes a new projects starts at 
that point. Again IMHO a valid assumption.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to