# Remote repository in maven

Maven remote repository is a repository on a web server. A remote repository can be located anywhere on the internet or inside a local network. We can configure a remote repository in the POM file. We have to put the following XML elements right after the element:

<repositories> <repository> <id>w3spoint.code</id> <url>https://maven.w3spoint.com/maven2/lib</url> </repository> </repositories>