Hi Scott,
I've been wondering for the longest time and only recently, through the
power of guessing, I've discovered that the variable for the local
repository is ${settings.localRepository}. You'll need to make sure that
the <localRepository> set in your settings.xml file though.
_Mang Lau
Scott Tailor <[EMAIL PROTECTED]>
03/27/2006 06:57 AM
Please respond to
"Maven Users List" <[email protected]>
To
'Maven Users List' <[email protected]>
cc
Subject
RE: [M2] Is there a variable for the local repository?
Hi Dan,
Thanks for the reply. I must be blind, but I couldn't find anything
related
to looking up paths to dependencies on the page you sent me, nor on the
"Answered questions" link from that page.
/Scott
-----Original Message-----
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: den 27 mars 2006 09:32
To: Maven Users List
Subject: Re: [M2] Is there a variable for the local repository?
check out http://docs.codehaus.org/display/MAVENUSER/FAQs on how to lookup
path to dependencies
-D
On 3/26/06, dan tran <[EMAIL PROTECTED]> wrote:
>
> I assume this is maven2 question, Your need to get a hold of
> maven-setting object to retreive the local repo path
> check maven-release-plugin source (AbstractReleaseMojo.java)
>
> -D
>
>
> On 3/26/06, Scott Tailor <[EMAIL PROTECTED]> wrote:
> >
> > Is there a variable for the path to the user's local repository? I
tried
> > using "${maven.home}/repository" in the pom but maven.home wasn't
> > resolved.
> > Is there a ${repo.local} variable I could use? Or better yet anyway I
> > can
> > look up the path of a dependency? Something like:
> >
> >
> >
> > ${pom.getDependencyPath?
> >
<http://wiki.taylorit.com/jsp/Wiki?topic=DependencyPath&action=action_edit
> > >
> > ('org.springframework:spring-hibernate ')}?
> >
> >
> >
> > /Scott
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]