title: Mark a directory as "Generated Source Root" using command line or using some java or maven code?
body: <p>I need to mark a directory as "Generated Source Root". In IntelliJ, or any other GUI tool, it is easy. Is there any other way to mark it using command line or using some java or maven code?</p>