maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: maven jar override does not work?
Date Sat, 14 Aug 2004 04:34:56 GMT
'll notice it works for concurrent. I think override has a bug with '-'.

I think it already exists in JIRA. You might like to find and watch
it. (or submit a patch!)

On Thu, 12 Aug 2004 21:49:35 -0700 (PDT), Robin Wu <bjhong02@yahoo.com> wrote:
> 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!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message