Hi,
I created a remote repositories in my server,and copy nfa-1.0.0.jar to it.
<repositories>
<repository>
<id>itsm</id>
<name>ServerRepository</name>
<url>http://10.10.100.22/maven</url>
</repository>
</repositories>
Then deleted the nfa-1.0.0.jar from the
locarepository(~/.m2/repository),but it was not work and throwed the
following error:
D:\workspace\itmsdemo>mvn compile
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Unnamed - com.novitech.itsm:itmsdemo:jar:1.0.0
[INFO] task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://10.10.100.22/maven/nfa/nfa/1.0.0/nfa-1.0.0.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: nfa:nfa
Reason: Error getting POM for 'nfa:nfa' from the repository: Error
transferring file
nfa:nfa:pom:1.0.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
itsm (http://10.10.100.22/maven)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Dec 25 11:51:35 CST 2006
[INFO] Final Memory: 2M/4M
[INFO]
------------------------------------------------------------------------
If I put the nfa-1.0.0.jar in my locarepository(~/.m2/repository),it was ok.
Why? And how I to do?
--
View this message in context:
http://www.nabble.com/why-my-remote-repository-not-work--tf2878866s177.html#a8045670
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]