Douglas Ferguson wrote:
> 
> Is there a way to specifically add a jar to the classpath when running
> eclipse:eclipse?
> 
>  
> 
> If I’m not running in snapshot mode, I need to add
> jar-with-dependencies, but if I am running in snapshot mode, I don’t wan
> to add it, I use project dependencies.
> 
>  
> 
> I tried defining the dependency inside the eclipse plugin section, but
> eclipse:eclipse doesn’t include those in the .classpath.
> 
>  
> 
> D-
> 
> 
> 
> 

Good day to you, Douglas,

I think the key to your problem is to use profiles. You may want to take a
look at [1] for more info about it :-)

Cheers,
Franz

[1]
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
-- 
View this message in context: 
http://www.nabble.com/eclipse%3Aeclipse---adding-to-classpath-tf2259706.html#a6270335
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to