maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rand...@kamradtfamily.net
Subject RE: Re: Trying to understand how maven finds source
Date Thu, 24 Oct 2013 21:14:16 GMT
I think I speak for most of us when I say: after mastering maven, we find plenty of other things
to be newbies at.  So we're all in different instances of the same boat class
 
--------- Original Message --------- Subject: Re: Trying to understand how maven finds source
From: "Robert Dailey" <rcdailey.lists@gmail.com>
Date: 10/24/13 1:29 pm
To: "Maven Users List" <users@maven.apache.org>

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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message