You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by Jason van Zyl <jv...@maven.org> on 2004/07/01 16:16:03 UTC

Re: cvs commit:maven-components/maven-core/src/test/resources/projects/base-directory-alignmentproject-which-needs-directory-alignment.xml

On Thu, 2004-07-01 at 10:15, Emmanuel Venisse wrote:

> Personnaly, I think it's necessary to have some specific properties by
> project by user in some case. 

Definitely, this is what maven.properties would be for. The
maven.properties file would effectively be what the build.properties
file is in maven1.

Any defaults the project wanted to set would be done in the POM.

> It's the case for define an install directory
> of an app server for example, that is specific to the user/project
> environment. A user can use a specific installation of an app server by
> project, so we can't define it in maven.properties and we can't define it in
> pom because it's specific to user environment.

Right, the maven.properties as I am saying it should be used is only for
users. Plugins, projects, groups and sites will strictly use the POM for
configuration and the inheritance mechanism will take care of the
cascading of values, namely properties defined in the POMs.

> 
> >
> > > Emmanuel
> >
> > -- 
> > jvz.
> >
> > Jason van Zyl
> > jason@maven.org
> > http://maven.apache.org
> >
> > happiness is like a butterfly: the more you chase it, the more it will
> > elude you, but if you turn your attention to other things, it will come
> > and sit softly on your shoulder ...
> >
> >  -- Thoreau
> >
> >

-- 
jvz.

Jason van Zyl
jason@maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


Re: cvscommit:maven-components/maven-core/src/test/resources/projects/base-directory-alignmentproject-which-needs-directory-alignment.xml

Posted by Emmanuel Venisse <em...@venisse.net>.
----- Original Message ----- 
From: "Jason van Zyl" <jv...@maven.org>
To: "Maven 2 Developers List" <m2...@maven.apache.org>
Sent: Thursday, July 01, 2004 5:24 PM
Subject: Re:
cvscommit:maven-components/maven-core/src/test/resources/projects/base-direc
tory-alignmentproject-which-needs-directory-alignment.xml


> On Thu, 2004-07-01 at 10:16, Jason van Zyl wrote:
>
> > Right, the maven.properties as I am saying it should be used is only for
> > users. Plugins, projects, groups and sites will strictly use the POM for
> > configuration and the inheritance mechanism will take care of the
> > cascading of values, namely properties defined in the POMs.
>
> What I mean by the notion of maven.properties replacing build.properties
> is that a maven.properties file could be found in the user's home
> directory somewhere or within the project. Same thing as we have in m1
> using build.properties.

Excellent, because a user can have a different property setting for
different project.

>
> -- 
> jvz.
>
> Jason van Zyl
> jason@maven.org
> http://maven.apache.org
>
> happiness is like a butterfly: the more you chase it, the more it will
> elude you, but if you turn your attention to other things, it will come
> and sit softly on your shoulder ...
>
>  -- Thoreau
>
>


Re: cvs commit:maven-components/maven-core/src/test/resources/projects/base-directory-alignmentproject-which-needs-directory-alignment.xml

Posted by Jason van Zyl <jv...@maven.org>.
On Thu, 2004-07-01 at 10:16, Jason van Zyl wrote:

> Right, the maven.properties as I am saying it should be used is only for
> users. Plugins, projects, groups and sites will strictly use the POM for
> configuration and the inheritance mechanism will take care of the
> cascading of values, namely properties defined in the POMs.

What I mean by the notion of maven.properties replacing build.properties
is that a maven.properties file could be found in the user's home
directory somewhere or within the project. Same thing as we have in m1
using build.properties.

-- 
jvz.

Jason van Zyl
jason@maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau