On 9 October 2010 00:46, Dhanji R. Prasanna <[email protected]> wrote:

>
> On Thu, Oct 7, 2010 at 8:46 PM, Stuart McCulloch <[email protected]>wrote:
>
>> On 6 October 2010 11:38, Dhanji R. Prasanna <[email protected]> wrote:
>>
>>> Spoke to Jason offline. If you are able, you should check these poms in.
>>
>>
>> I'd also like to move the core code into it's own directory and align the
>> source and test directories
>>  to match what maven expects (src/main/java and src/test/java) - ant
>> doesn't care about the layout
>> so it's much easier to use this convention (and amend the ant scripts to
>> use it) than force maven
>> to use the ant layout - especially once you get IDEs involved
>>
>
> I would much rather not move these dirs if that is possible--I thought
> maven could handle any layouts? I think our current layout is nice and
> clean.
>

yes Maven can handle layouts like "src" and "test" - though as others have
mentioned
using the standard layout has benefits (easier to understand for people used
to Maven;
separate directories for classes, resources, assemblies, etc.)

but Maven (and a lot of IDEs) have difficulty supporting a directory that
both produces
an artifact and also contains other builds - a project directory can either
contain other
projects, or produce some artifact(s), but not both

so moving the core code to its own directory (ie. core/src/...) is essential
if you want
to build with Maven - changing the source layout to the Maven layout is not
essential,
but recommended

Dhanji.
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-guice%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-guice?hl=en.
>



-- 
Cheers, Stuart

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to