Good day,

Try unpackaging the class files to target\class ( or target\test-classes if
it's for testing ). But I am not sure if that would be enough so that those
classes would be included in the classpath.

But again, why not use make those jars your dependencies?

And what are you trying to do excatly?

Cheers,
Franz


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#a8860302
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