maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Dailey <rcdailey.li...@gmail.com>
Subject Re: Trying to understand how maven finds source
Date Thu, 24 Oct 2013 20:29:14 GMT
Thanks everyone, super helpful information. I'm still learning so I
appreciate you putting up with my silly newbie questions :)

I'll try to ramp up on the conventional aspects of maven, that seems
to be the missing piece.

On Thu, Oct 24, 2013 at 3:24 PM, Anders Hammar <anders@hammar.net> wrote:
> If you have a look at the effective pom, which is what Maven uses, you will
> see a sourceDirectory element in the build section. The default path is
> defined in the Super-POM.
>
> You can view the effective pom in m2e or with "mvn help:effective-pom".
>
> /Anders
>
>
> On Thu, Oct 24, 2013 at 10:08 PM, Paul Benedict <pbenedict@apache.org>wrote:
>
>> You are likely not see "src/main/java" in POMs because that is the default
>> path. Unless you want to change the source directory, you can omit it
>> altogether.
>>
>>
>> On Thu, Oct 24, 2013 at 3:04 PM, Robert Dailey <rcdailey.lists@gmail.com
>> >wrote:
>>
>> > Hey everyone,
>> >
>> > I'm trying to understand something basic, I haven't been able to find
>> > the answer through Google surprisingly (maybe my searching abilities
>> > suck today). How is it that Maven is able to find source code to
>> > compile? What I would expect is the pom.xml to refer to some *.java
>> > path (something like <source>src/main/java/*</source>), but I don't
>> > see anything like that.
>> >
>> > How does maven know what java source code to compile? Thanks in
>> > advance for any help.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>> >
>>
>>
>> --
>> Cheers,
>> Paul
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message