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" <[email protected]> Date: 10/24/13 1:29 pm To: "Maven Users List" <[email protected]>
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 <[email protected]> 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 <[email protected]>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 <[email protected] >> >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: [email protected] >> > For additional commands, e-mail: [email protected] >> > >> > >> >> >> -- >> Cheers, >> Paul >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
