git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Imran M YousufNext: Robin Rosenberg
Message 11 of 17 in “[JGIT RFC] Mavenized JGit”
  1. Imran M YousufJun 3, 2008
  2. Robin RosenbergJun 3, 2008
  3. Shawn O. PearceJun 3, 2008
  4. Robin RosenbergJun 3, 2008
  5. Imran M YousufJun 4, 2008
  6. Shawn O. PearceJun 4, 2008
  7. Nigel MagnayJun 4, 2008
  8. Imran M YousufJun 4, 2008
  9. Shawn O. PearceJun 4, 2008
  10. Imran M YousufJun 5, 2008
  11. Imran M YousufJun 6, 2008
  12. Robin RosenbergJun 6, 2008
  13. Imran M YousufJun 6, 2008
  14. Imran M YousufJun 4, 2008
  15. Ittay DrorJun 5, 2008
  16. Imran M YousufJun 5, 2008
  17. Imran M YousufJun 6, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.