Sorry, i must be blind as well http://docs.codehaus.org/display/MAVENUSER/FAQs-1
you can also take a look at native-maven-plugin source https://svn.mojo.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin/ where maven injects an instance of maven-project ( pom.xml) into the mojo, so that it can access the dependencies via project.getArtifacts() -D On 3/27/06, Scott Tailor <[EMAIL PROTECTED]> wrote: > > 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] > >