Posts Tagged ‘Maven’
15
Feb

If you want to install a library ‘C:\path\io-1.3.jar’ manually in your local repository, just issue the following command:

mvn install:install-file -Dfile=C:\path\io-1.3.jar -DgroupId=org.bigdev -DartifactId=io -Dversion=1.3 -Dpackaging=jar

You can now reference this jar in your pom.xml file as

<dependency>
  <groupId>org.bigdev</groupId>
  <artifactId>io</artifactId>
  <version>1.3</version>
</dependency>

11
Jan

Searching for artifacts to add as dependencies to your maven projects sometimes requires one to spend too much time with Google ;-)
Especially when you need a specific jar, but don’t know its groupId, artifactId, or the latest version that is available.
That’s why I list those links:

Search Engines
http://search.maven.org – official central Maven repository search
http://www.jarvana.com – recommended! also a JavaDoc Search…
http://mvnrepository.com
http://www.artifact-repository.org
http://www.mvnbrowser.com

Repositories
http://repo1.maven.org – central Maven repository (no direct browsing, use a search engine above for browsing instead)
https://repository.apache.org – Apache Nexus repository
https://repository.jboss.org/nexus – JBoss Nexus repository
https://repository.sonatype.org – Sonatype Nexus repository

So go find your jars…

, ,