+
+ private static Optional<String> getEffectiveSettingsXML() throws URISyntaxException, VerificationException, IOException {
+ final URL path = YangToSourcesPluginTestIT.class.getResource("/test-parent/pom.xml");
+ File buildDir = new File(path.toURI()).getParentFile().getParentFile().getParentFile();
+ File effectiveSettingsXML = new File(buildDir, "effective-settings.xml");
+ if (effectiveSettingsXML.exists()) {
+ return Optional.of(effectiveSettingsXML.getAbsolutePath());
+ } else {
+ fail(effectiveSettingsXML.getAbsolutePath());
+ return Optional.empty();
+ }
+ }
+