Hello
I use maven on Windows XP to build a open source crawler - Heritrix. In
project.properties, maven.jar.override property is set to override the dependencies
stated in the project.xml with JAR artifacts in the local system. But, when using
maven to build the project. it still tried to download the dependencies from remote
repository, and failed. I wonder why the override does not work.
In project.properties, jar override is set as following:
maven.jar.override = on
maven.jar.commons-httpclient = ${basedir}/lib/commons-httpclient-2.0.jar
maven.jar.commons-logging = ${basedir}/lib/commons-logging-1.0.3.jar
... //many jars omitted here
maven.jar.commons-net = ${basedir}/lib/commons-net-1.1.0.jar
maven.jar.concurrent = ${basedir}/lib/concurrent-1.3.2.jar
build the project, the results show as below.
F:\Heritrix\maven
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0
???????? commons-net-1.1.0.jar????
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-net/jars/commons-net-1.1.0.jar]:
java.net.UnknownHostException: www.ibiblio.org
?????? commons-net-1.1.0.jar ?????���???
???????? commons-httpclient-2.0.jar????
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0.jar]:
java.net.UnknownHostException: www.ibiblio.org
?????? commons-httpclient-2.0.jar ?????���???
???????? commons-logging-1.0.3.jar????
Error retrieving artifact from
[http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar]:
java.net.UnknownHostException: www.ibiblio.org
?????? commons-logging-1.0.3.jar ?????���???
Total time: 19 seconds
Finished at: Fri Aug 13 12:10:39 CST 2004
thanks
robin
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!