Thanks that solves the problem it seems.
Info:
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
cheers,
javed
On 4/7/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> On 4/7/06, javed mandary <[EMAIL PROTECTED]> wrote:
>
> > I tried adding my property values inside a properties tag in my POM :
> ...
> > <properties>
> > <tomcat.home>c:/devtools/tomcat</tomcat.home>
> > </properties>
> >
> > But this does not seem to be working.
>
> That looks like something you'd want to put in your settings.xml --
> another developer working on the project might have a different
> tomcat.home.
>
> For example, I have (in ~/.m2/settings.xml):
>
> <settings>
> ...
> <profile>
> <id>cargo-config</id>
> <properties>
> <cargo.tomcat5x.home>c:/java/apache-tomcat-5.5.15
> </cargo.tomcat5x.home>
> <cargo.tomcat4x.home>c:/java/jakarta-tomcat-4.1.31
> </cargo.tomcat4x.home>
> </properties>
> </profile>
> </profiles>
> <activeProfiles>
> <activeProfile>cargo-config</activeProfile>
> </activeProfiles>
> </settings>
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>