pazuzu-io / pazuzu-registry

A feature registry for customized Docker images
MIT License
16 stars 10 forks source link

Place generated swagger code in source directory #166

Closed mtrenkmann closed 7 years ago

mtrenkmann commented 7 years ago

I know that Maven build artifacts reside in the target directory. However, I am not sure if this is the best approach for generated source code, because then I need to add the target directory to the projects classpath to make my IDE happy.

In other projects I used to place generated source code in a dedicated namespace/package in the project's source folder. For pazuzu this would be src/main/java/org/zalando/pazuzu/generated.

Request for comments.

slothspot commented 7 years ago

Current destination for code-generation looks correct (all code-generation plugins I've seen so far use this location). So I suppose that if your IDE supports maven-based projects it should handle this situation without problem.

mtrenkmann commented 7 years ago

Ya, I see ... and using another location would also require to the configure the maven-clean-plugin appropriately. Lets close this issue.