I think this question is more relevant for [EMAIL PROTECTED]
To answer briefly, it's not possible. You can declare repositories in
the parent POM, however mirrors/repository managers are an environment
setting specific to the user and used regardless of the project, so it
goes in the user's settings.xml.
Thanks,
Brett
On 09/12/2008, at 2:24 PM, Harsha Godugu wrote:
Can anybody tell me how one can define maven mirrorOf settings in
top level pom directly. (I am aware of how to do that using
settings.xml) Is this possible with latest maven (2.0.9)? The idea
is, every project will have certain predefined settings that are
constant to that project itself and hence, all the users might end
up in using the same settings. In that case, it would be good to
embed those settings directly in the top level pom of the project
rather than having them in a separate file. (and, settings.xml
should have precedence, if there is a deviant need.)
Thanks in advance.
-hg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]