Thursday, August 11, 2011

maven repository of sun

A lot of jar files from sun cannot be got from the default public maven repository. They can be got from the maven repository of sun.Add the Repository below in pom.xml

<repositories>
        <repository>
            <id>maven2-repository.dev.java.net</id>
            <name>Java.net Repository for Maven</name>
            <url>http://download.java.net/maven/2/</url>
        </repository>
    </repositories>

No comments:

Post a Comment