On Thu, Jun 5, 2008 at 1:59 AM, Shawn O. Pearce <spearce@xxxxxxxxxxx> wrote: > Imran M Yousuf <imyousuf@xxxxxxxxx> wrote: >> On Wed, Jun 4, 2008 at 12:40 PM, Nigel Magnay <nigel.magnay@xxxxxxxxx> wrote: >> >> >> >> 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. I have just tested it and it works fine. Now maven is configured to use the existing locations for source and it builds fine. Best regards, Imran PS: This is the link to the commit http://repo.or.cz/w/egit/imyousuf.git?a=commit;h=7c69b95cee245edd0701e09d5f0357f7ffbbd9ea > > -- > Shawn. > -- Imran M Yousuf Entrepreneur & Software Engineer Smart IT Engineering Dhaka, Bangladesh Email: imran@xxxxxxxxxxxxxxxxxxxxxx Blog: http://imyousuf-tech.blogs.smartitengineering.com/ Mobile: +880-1711402557 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html