Posts

Showing posts with the label nexus

Maven Errors - Few common Maven error and troubleshooting part 1

In this post i am going to talk about maven build troubleshooting, Here is the list few maven error and its troubleshooting. Tag Already exist If you see following type of error in your release build after the perform step [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project : Unable to tag SCM [ERROR] Provider message: [ERROR] The git-tag command failed. [ERROR] Command output: [ERROR] fatal: tag '<some tag>' already exists

How to download Artifacts from maven repo

To make deployment automated, there may be need to get the artifacts from maven repo. Release artifacts can be downloaded since we know the version But how to download the latest snapshot artifacts. here are few http call to get  rid of such issues. How to download latest Snapshot artifact from nexus maven repo If you know the version you can directly get the artifact like this wget  http://<Your repo name>/service/local/artifact/maven/content?r=snapshots&g=com.&a=app&v=2.0.25-SNAPSHOT&p=war

Maven Repository tools Comparison

There are several maven repository tools available but biggest players are Artifactory and Nexus (sonatype).  I am taking these 2 repository provider tools for comparison. Artifactory and Nexus Summary Main purpose of this document is to compare the 2 maven repository providers (Tools). Artifactory Nexus (Sonatype) I am trying to review both repo managers. This is on basis of few points like features, cost, support etc.