[Engine-devel] Shipping settings.xml in oVirt engine's git repo (was RE: maven settings.xml in building ovirt engine wiki)

Itamar Heim iheim at redhat.com
Wed Nov 28 08:56:30 UTC 2012


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.



More information about the Engine-devel mailing list