
On 11/28/2012 03:38 AM, Moti Asayag wrote:
On 11/28/2012 10:05 AM, Allon Mureinik wrote:
<snipped>
Note that settings.xml isn't shifted with ovirt-engine, nor stored on ovirt-engine git repository. Therefore there is no real method to control its content expect updating the wiki page.
Spinning off from the previous discussion - we can't really control the contents of settings.xml, but perhaps we can make them easier to get.
Today, the flow is like this: 1. git clone - depends on gerrit.ovirt.org 2. wget settings.xml - depends on wiki.ovirt.org
Suppose we ship settings.xml inside the configuration folder of ovirt (next to engine-code-format.xml and engine-commit-template.txt). Then you'll have to do: 1. git clone - depends on gerrit.ovirt.org 2. cp $OVIRT_GIT/config/settings.xml ~/.m2/
I don't think we should override an already existed shared configuration file.
user doesn't have to do this, and we can also suggest they run mvn with this file as an mvn option instead of copying it to default location.