maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Chad.Da...@emc.com>
Subject RE: Central repository not being hit
Date Fri, 01 Jun 2012 18:49:08 GMT
> I'm a relative newbie to Maven. When you say "effective pom" are you
> referring to the project's pom or a  global pom for Maven? If global, where
> would it be located?
>

The "effective pom" is your pom plus all the stuff it inherits from parent poms it declares,
and from the Maven "super pom".  The super pom is the built in pom that defines all of the
default values, such as maven central as a remote repository.  

The maven help plugin has a goal you can execute to get the effective pom for a given pom.

http://maven.apache.org/plugins/maven-help-plugin/

Go to the directory where your pom is, and execute:

mvn help:effective-pom

All IDE maven plugins will show you this as well. 

BTW, if you are a maven newbie, here's some advice on how not to get in trouble.

http://zeroinsertionforce.blogspot.com/2012/04/maven-does-not-suck-but-maven-docs-do.html



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


Mime
View raw message