v.verifyTextInLog("[DEBUG] yang-to-sources: Additional configuration picked up for : org.opendaylight.controller.yang2sources.spi.CodeGeneratorTestImpl: {nm1=abcd=a.b.c.d, nm2=abcd2=a.b.c.d.2}");
v.verifyTextInLog("[DEBUG] yang-to-sources: Additional configuration picked up for : org.opendaylight.controller.yang2sources.spi.CodeGeneratorTestImpl: {c1=config}");
v.verifyTextInLog(File.separator
- + "files marked as resources: META-INF" + File.separator
- + "yang");
+ + "files marked as resources: META-INF/yang");
v.verifyTextInLog("target"
+ File.separator
+ "generated-resources marked as resources for generator: org.opendaylight.controller.yang2sources.spi.CodeGeneratorTestImpl");
throw new MojoFailureException(message, e);
}
- setResource(targetYangDir, META_INF_YANG_DIR.getPath(), project);
+ setResource(targetYangDir, META_INF_YANG_STRING_JAR, project);
log.debug(Util.message(
"Yang files from: %s marked as resources: %s", LOG_PREFIX,
- yangFilesRootDir, META_INF_YANG_DIR.getPath()));
+ yangFilesRootDir, META_INF_YANG_STRING_JAR));
}
private static void setResource(File targetYangDir, String targetPath,