class GuvnorM2Repository {

    protected static String loadFileTextFromJar(final File jarFile, String path, String fileName) {
        if (jarFile != null && fileName != null && !fileName.isEmpty()) {
            try (ZipFile zip = new ZipFile(jarFile)) {
                for (Enumeration e = zip.entries(); e.hasMoreElements(); ) {
                    ZipEntry entry = (ZipEntry) e.nextElement();
                    if (entry.getName().startsWith(path) && entry.getName().endsWith(fileName)) {
                        return zipEntryToString(zip,
                                                entry);
                    }
                }
            } catch (ZipException e) {
                log.error(e.getMessage());
            } catch (IOException e) {
                log.error(e.getMessage());
            }
        }
        return null;
    }

    public  GuvnorM2Repository();
    @Inject public  GuvnorM2Repository(ArtifactRepositoryService factory);

}