maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dipankar Ghosal <dipankar.gho...@globallogic.com>
Subject How to specify local dependency in maven2
Date Tue, 04 Mar 2008 07:00:40 GMT

I have a WebSphere Portlet project which uses many IBM jars(Available at
installation directory in local system).

I need to use these jars while performing maven build.

How do i specify the location of the jars so that maven uses the jars from
local location rather than download from remote repository.

Is there any option like specifying the local jars in
project.properties(available in maven 1.1)
################################################
# 
# Register local jar files to maven. This prevents maven from
# trying to download these dependencies
#
################################################
maven.jar.wps = ${wps.home}/wps.jar
maven.jar.jsr168-api = ${wps.home}/shared/app/jsr168-api.jar

Any help will be appreciated
-- 
View this message in context: http://www.nabble.com/How-to-specify-local-dependency-in-maven2-tp15821419s177p15821419.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Mime
View raw message