I realized that I could do it via profiles, but I didn't want the developer to 
have to know to provide the profile. I'd rather them run eclipse:eclipse and 
have it work out the box.

I think a neat maven feature would be to be able to enable a profile for a 
specific plugin.

D-

-----Original Message-----
From: franz see [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 12, 2006 12:03 PM
To: [email protected]
Subject: Re: eclipse:eclipse - adding to classpath




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]



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

Reply via email to