Prasad,
I believe there is something wrong with your setup. This first file:
Then, install it using the command:
mvn install:install-file -DgroupId=commons-logging -
DartifactId=commons-logging \
-Dversion=1.0.4 -Dpackaging=jar -Dfile=/path/to/file
is located in the centeral repository listed here
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache-m2-snapshot (http://people.apache.org/repo/m2-snapshot-
repository),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-
repository),
apache-incubating-repository (http://people.apache.org/repo/m2-
incubating-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org)
The full url to the file is:
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/
-dain