@Test public void testGetOwnVersion() { assertFalse("getOwnVersion", newMojo().getOwnVersion().isEmpty()); }
String getOwnVersion() { final Properties properties = new Properties(); return uncheck0(() -> { try (InputStream input = getClass().getResourceAsStream("version.properties")) { properties.load(input); return properties.getProperty("version"); } }).get(); }
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(); } }
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(); }  }
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(); }  @Override void execute(); }
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(); }  @Override void execute(); static final String OPEAR; }