Re: [JGIT RFC] Mavenized JGit
- From
Imran M Yousuf <imyousuf@gmail.com>
- Date
- Jun 6, 2008, 05:28 UTC
- Message-ID
- <7bfdc29a0806052228s2fe764d1pe5d2b8e129115c77@mail.gmail.com>
- In-Reply-To
- <20080604195934.GU12896@spearce.org>
On Thu, Jun 5, 2008 at 1:59 AM, Shawn O. Pearce <spearce@spearce.org> wrote:
Show 19 quoted lines
> Imran M Yousuf <imyousuf@gmail.com> wrote: >> On Wed, Jun 4, 2008 at 12:40 PM, Nigel Magnay <nigel.magnay@gmail.com> 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@smartitengineering.com Blog: http://imyousuf-tech.blogs.smartitengineering.com/ Mobile: +880-1711402557