class OpearPackageMojo extends AbstractCommonMojo {

    String getOwnVersion() {
        final Properties properties = new Properties();
        return uncheck0(() -> {
            try (InputStream input = getClass().getResourceAsStream("version.properties")) {
                properties.load(input);
                return properties.getProperty("version");
            }
        }).get();
    }

}