Fix YangToSourcesPluginTestIT failure 05/41505/3
authorMichael Vorburger <vorburger@redhat.com>
Thu, 7 Jul 2016 16:27:45 +0000 (18:27 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 18 Jul 2016 08:51:46 +0000 (08:51 +0000)
commit848f1fdc2418847e1237a12c9b19e30de373d029
treef1cf2c2869235553abb2da1b5f621013f6a72815
parent9610ff589ed57c6bdeac45f92a7ef3cbaab4c43d
Fix YangToSourcesPluginTestIT failure

Inspired by
http://blog2.vorburger.ch/2016/05/how-to-make-maven-archetype-plugin.html

The YangToSourcesPluginTestIT obviously does pass on Jenkins, but that
relies on magical environment variables.  I'm sure it also works locally
for those who use the custom ODL settings.xml globally - but I don't; I
just use "mvn -s odl.xml" kind of thing.  This fix makes the
YangToSourcesPluginTestIT pass even then, because it will now re-use the
real "effective" settings XML under which Maven was started.

Change-Id: I1edbed691ac1a01c8bfc1c8178d4836781aba0a1
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
yang/yang-maven-plugin-it/pom.xml
yang/yang-maven-plugin-it/src/test/java/org/opendaylight/yangtools/yang2sources/plugin/it/YangToSourcesPluginTestIT.java