You are using Maven 2 right?

On Wed, 2007-02-28 at 15:40 +0100, Thomas Colin de Verdière wrote:
> Thanks but i tried and it didn't work. You are right it is written in 
> the document on the maven site. ..
> 
> Brad Szabo a écrit :
> > The localRepository property is configured in settings.xml, therefore
> > you can access it using ${settings.localRepository}. (The default is
> > ~/.m2/repository). 
> >
> > Hope this helps,
> > -Brad
> >
> > References:
> > http://maven.apache.org/guides/mini/guide-configuring-maven.html
> > http://maven.apache.org/settings.html
> >
> >
> > On Wed, 2007-02-28 at 10:39 +0100, Thomas Colin de Verdière wrote:
> >   
> >> Hello,
> >> i try to filter resources in my project to generate a build.properties 
> >> file.
> >> I would like to have the path to the localRepository. So i use 
> >> ${localRepository} as it is said in "BetterBuilds with Maven" but it 
> >> doesn't work.
> >> I tried the following properties for testing :
> >> MAVEN_REPO=${project.class.name}
> >> MAVEN_REPO=${localRepository}
> >> MAVEN_REPO=${localRepository.class.name}
> >>
> >> and here is the result :
> >> MAVEN_REPO=org.apache.maven.project.MavenProject
> >> MAVEN_REPO=${localRepository}
> >> MAVEN_REPO=org.apache.maven.project.MavenProject
> >>
> >> So the localRepository seems to be a 
> >> org.apache.maven.project.MavenProject  ??
> >>
> >> Thanks for helping,
> >> Thomas
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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]
> >
> >
> >   
> 
> 
> ---------------------------------------------------------------------
> 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