Re: [JGIT RFC] Mavenized JGit
From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:44:41
Imran M Yousuf [off-list ref] wrote:
On Wed, Jun 4, 2008 at 12:40 PM, Nigel Magnay [off-list ref] wrote:quoted
quoted
But this shows one reason why I don't use Maven I think. The fact that we need a "java" directory to hold our java code. What if another build system wants a different name? Grumble.You don't. Just set the appropriate config item in pom.xml (sourceDirectory possibly, but my memory isn't good this morning) and you can use 'src' as it is currently. src/main/java is just the default.You are absolutely right in fact (your memory did not betray ;)) its <project><build><sourceDirectory>.
If we can avoid doing this rename and instead just configure Maven to use the existing directory it would be better. Then we don't have to bother everyone's branches with this rename business. -- Shawn.