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 Maczka Michal <mi...@imtf.ch> on 2004/11/02 09:28:06 UTC

RE: reintroduction of maven.properties for config orthogonal to P OMs

> > Sure - I agree. But I did want to avoid too many things 
> reading it on 
> > their own and not handling the same hierachy (default, site, user) 
> > mentioned in the previous email.
> 
> Sure, the only thing I can think that truly sits in isolation is the
> local repo setting.
> 
> > When discussing embedding, did you agree about that these 
> are actually 
> > configuration that should be passed in to Maven?
> 
> Yes, the maven component must have those values set. The CLI front-end
> simply picks them off and passes them in.

I still think that component which provides an access to those settings
might be better.

I imagine that for some usecases some settings like passwords might not be
kept in configuration files but 
interactively entered by users. For example when one of deploy commands is
invoked inside eclipse - eclipse may show dialog box
and ask user to enter the password. So when m2 will be embedded inside
eclipse it will be just necessary to provided special implementation
of those components which provided an access to the settings which doesn't
logically belong to POM. The same may happen inside continuum when
passwords which are needed to deploy or to connect to scm system might be
entered and stored in user session.


Michal