Hi,
I want download artifacts from my server so I modified my mirror:
<mirror>
<id>maven</id>
<mirrorOf>maven</mirrorOf>
<name>maven</name>
<url>http://10.10.100.22/maven</url>
</mirror>
And I deployed junit-3.8.1.jar into server with runed deploy:deploy-file.
But it always downloaded the pom from http://repo1.maven.org/maven2 when I
runned .
D:\workspace\maven_itms>mvn compile
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building maven_itms Maven Webapp
[INFO] task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
145b downloaded
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://10.10.100.22/maven/junit/junit/3.8.1/junit-3.8.1.jar
118K downloaded
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Fri Jan 19 15:31:25 CST 2007
[INFO] Final Memory: 4M/9M
[INFO]
------------------------------------------------------------------------
why? and how I to do?
--
View this message in context:
http://www.nabble.com/About-downloading-artifacts--from-remote-repositories-tf3038777s177.html#a8445554
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]