eclipserepositoryeclipse-juno

Add Maven repositories for a project in Eclipse?


How can I add Maven repositories for a project. I'm using Eclipse Juno version: Juno Service Release 1 Build id: 20120920-0800 and using Fedora as my OS.


Solution

  • You can include it in your pom.xml. Just add the repositories information inside the <project> tag

    <repositories>
        <repository>
            <id>maven-restlet</id>
            <name>Public online Restlet repository</name>
            <url>http://maven.restlet.org</url>
        </repository>
    </repositories>