maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Pik <pi...@ais.pl>
Subject Re: m1 and m2 co-existing
Date Fri, 04 Jun 2004 08:08:45 GMT
Rafal Krzewski wrote:

> here's my proposal of various m2 properties files:
> 
> project/pom.properties
> project/pom.overrides  (project local overrides)
> 
> $HOME/.m2/pom.defaults
> $HOME/.m2/pom.overrides

$ORGANIZATION/pom.defaults
$ORGANIZATION/pom.overrides

where $ORGANIZATION is defined in $HOME/.m2/pom.defaults

> evaluation order is:
> 
> $HOME/.m2/pom.defaults
> parent project/pom.properties
> parent project/pom.overrides
> project/pom.properties
> project/pom.overrides
> $HOME/.m2/pom.overrides

Here I don't have the idea for a moment, in which place it should
be processed. Probably as a layer between $HOME and project settings
so

$HOME/.m2/pom.defaults
$ORGANIZATION/pom.defaults
parent project/pom.properties
parent project/pom.overrides
project/pom.properties
project/pom.overrides
$ORGANIZATION/pom.overrides
$HOME/.m2/pom.overrides

This additional layer will add a possibilty to include 'organization
wide' properties in one line in $HOME files instead of repeating
them in every $HOME.

Tomek


Mime
View raw message