Rex,
I find it just as easy to put the properties in my pom.xml. I put them at
the bottom so they are easy to find. Here are the properties I used in a
recent program (and now you know how out of date I am with that program)
<properties>
<spring.version>1.2.6</spring.version>
<struts.version>1.3.5</struts.version>
<quartz.version>1.5.2</quartz.version>
<axis.version>1.3</axis.version>
</properties>
Here is how I used one of them:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
<scope>compile</scope>
</dependency>
Thanks.
-- Lee
On Jan 22, 2008 10:45 AM, Rex Huang <[EMAIL PROTECTED]> wrote:
> Take out the properties from pom file is sensible, it make it easy to
> configuration.
> I don't know whether profile can do this.
>
> Rex
>
> On Jan 22, 2008 5:32 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> > Yes, it is no longer available.
> >
> > What is your use case? Most things can be handled with filters and/or
> > <properties> in your pom or profile.
> >
> > Wayne
> >
> > On 1/22/08, Guillaume Lederrey <[EMAIL PROTECTED]> wrote:
> > > Hello !
> > >
> > > Is there a way to include properties in a pom.xml from an external
> > > file ? There was that possibility in Maveen 1 with a
> > > project.properties, but I cant find anything in the documentation of
> > > Maven 2 ...
> > >
> > > Did this disappear ? For what reason ?
> > >
> > > Thanks for your help !
> > >
> > > --
> > > Jabber : [EMAIL PROTECTED]
> > > Skype : Guillaume.Lederrey
> > > Projects :
> > > * http://rwanda.wordpress.com/
> > > * http://rwandatech.wordpress.com/
> > >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> >
>
--
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com