java - Do i need to mention default maven repo url? -
i have maven project.when seek compile project whether repo url or without repo url compiles fine. below default maven url mentioned in pom
<url>http://repo1.maven.org/maven2/</url>
my question need mention above repo url or not ?
edit:-
i believe of dependiencies exists @ url repo1.maven.org/maven2. need mention different if of dependency not exist @ url. right ? –
the url contained in maven super pom (model version 4.0.0).
http://repo1.maven.org/maven2
it references archive of software projects. archive searchable under adress: http://search.maven.org/#browse comes play when dependecy resolution mechanism tries find dependencies.
full reference here http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#super_pom
in general contained in super pom contained in pom if not overwrite explicitly.
java maven
No comments:
Post a Comment