Can someone explain why I am getting this error below during mvn compile
I have installed the activation and mail jars into my local repository 
works fine, then installed
the logging.jar however commons logging .jar is not being picked up.
Did I not install it correctly?
Why is it still going outside my local repository?

>mvn install:install-file -Dfile=commons-logging.jar 
-DgroupId=commons-logging -DartifactId=commons-logging -Dversion=1.0 
-Dpackaging=jar

produces in my repository
    commons-logging -> 
         commons-logging -> 
                 1.0 -> commons-logging-1.0jar

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://repo1.maven.org/maven2/root/project/projects/logging/1.0/logging-1.0.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

required artifacts missing:
  root.project.projects:logging:jar:1.0

for the artifact:
  root.project:primary-source:jar:1.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

 

----------------------------------------------
Thanks, Michael Tedesco
----------------------------------------------

Reply via email to