You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by cpopetz <cp...@gmail.com> on 2009/02/18 18:05:57 UTC

m2eclipse and paths for dependencies

Hello,

I have an m2eclipse project which references a maven jar dependency.  In an
eclipse run configuration (for launching jetty, to be specific) I need to
reference the path to that jar dependency in the VM args, because it is a
javaagent.  If the jar in question were in my build path, I could do:

-javaagent:${resource_loc:/path/to/the.jar} 

But the dependency in question doesn't show up in the resource list.  Does
m2eclipse provide a similar variable?

Thanks,
-Clint
-- 
View this message in context: http://www.nabble.com/m2eclipse-and-paths-for-dependencies-tp22083298p22083298.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: m2eclipse and paths for dependencies

Posted by Jason van Zyl <jv...@sonatype.com>.
Use the m2e users list:

user@m2eclipse.codehaus.org

On 18-Feb-09, at 12:05 PM, cpopetz wrote:

>
> Hello,
>
> I have an m2eclipse project which references a maven jar  
> dependency.  In an
> eclipse run configuration (for launching jetty, to be specific) I  
> need to
> reference the path to that jar dependency in the VM args, because it  
> is a
> javaagent.  If the jar in question were in my build path, I could do:
>
> -javaagent:${resource_loc:/path/to/the.jar}
>
> But the dependency in question doesn't show up in the resource  
> list.  Does
> m2eclipse provide a similar variable?
>
> Thanks,
> -Clint
> -- 
> View this message in context: http://www.nabble.com/m2eclipse-and-paths-for-dependencies-tp22083298p22083298.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
http://twitter.com/jvanzyl
----------------------------------------------------------

People develop abstractions by generalizing from concrete examples.
Every attempt to determine the correct abstraction on paper without
actually developing a running system is doomed to failure. No one
is that smart. A framework is a resuable design, so you develop it by
looking at the things it is supposed to be a design of. The more  
examples
you look at, the more general your framework will be.

   -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org