<repository>
<id>oauth-maven-repo</id>
<name>OAuth Maven repository</name>
<url>http://oauth.googlecode.com/svn/code/maven</url>
<layout>default</layout>
</repository>
What does repository layout mean, compared to setting snapshots / releases?
Repository Layouts allows you to take full control over the layout used by each repository and uses layout definitions to identify module artifacts and descriptors. Repository layouts supports these smart module management facilities for any build technology: Automatic snapshot/integration versions cleanup.
What is a Maven Repository? In Maven terminology, a repository is a directory where all the project jars, library jar, plugins or any other project specific artifacts are stored and can be used by Maven easily.
It is created by the maven when you run any maven command. By default, maven local repository is %USER_HOME%/. m2 directory. For example: C:\Users\SSS IT\.
The <layout>
tag is there to allow you to use the legacy
option to support the maven 1 repository layout. You can use it to handle fetching artifacts by configuring it in the <repository>
tag, or you can use it with the deploy plugin to deploy to Maven 1 repos.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With