Thanks Samuel..
However is there any way to include all libraries that are present in a particular folder. Say i have 20 odd jars in C:\lib folder? Samuel Le Berrigaud wrote: > > Hi, > > you would have to use the system scope. See the system dependencies > section > at > http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html > . > > However I would recommend you create a private repository internally to > your > company so that you can more easily share those dependencies with your > team. > This way those dependencies will work the same way as any other maven > dependency. Consistency is good. > > SaM > > On Tue, Mar 4, 2008 at 6:00 PM, Dipankar Ghosal < > [EMAIL PROTECTED]> wrote: > >> >> 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: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Samuel Le Berrigaud > > -- View this message in context: http://www.nabble.com/How-to-specify-local-dependency-in-maven2-tp15821419s177p15821761.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
