Hello,
Factly, I don't use the plugins.

> how can I add that folder to the classpath ?
I think Maven doesn't regard the jars as dependency at compile/runtime.

I think you can set the jars to "system" scope dependencies.
It's better to use dependency mechanism, even the jars aren't in any
repository.

a cup of Java, cheers!
Sha Jiang


Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco)
wrote:
> 
> 
> Once jars are copied to a specific directory,  how can I add that folder
> to the classpath ?
> 
> -Jagan
> 
> -----Original Message-----
> From: jiangshachina [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, February 07, 2007 10:36 PM
> To: [email protected]
> Subject: Re: additional classpath to maven2
> 
> 
> Hi,
> I ever used maven:maven-dependency-plugin, but it didin't work and even
> had other trouble.
> mojo.codehaus.org:dependency-maven-plugin may work well.
> 
> a cup of Java, cheers!
> Sha Jiang
> 
> 
> franz see wrote:
>> 
>> Good day,
>> 
>> Try using maven-dependency plugn ( or codehaus' 
>> dependency-maven-plugin ) or maven-assembly-plugin to unpack the
> jar/zip files to target/classes.
>> Not sure though if that would work.
>> 
>> Btw, why not just add those as dependencies?
>> 
>> Cheers,
>> Franz
>> 
>> That may require you to use depedency plugin or assembly plugin to 
>> unpack the files.
>> 
>> Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at 
>> Cisco)
>> wrote:
>>> 
>>> Hi,
>>>  
>>> Is it possible to add additional classpath (not specified in the
>>> dependency) to maven2 on runtime.
>>> The idea is to unzip the jars to a specific directory and add those 
>>> jars to compile / jar classpath.
>>>  
>>> Thanks
>>>  
>>>  
>>> 
>>> 
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/additional-classpath-to-maven2-tf3189283s177.html#
> a8860196
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/additional-classpath-to-maven2-tf3189283s177.html#a8860353
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to