void (@NotNull Properties res, @NotNull MavenProject mavenProject, @NotNull String classifier) { File file = new File(mavenProject.getBuildDirectory(), mavenProject.getFinalName() + '-' + classifier + ".jar"); if (file.exists()) { res.setProperty(mavenProject.getMavenId().getGroupId() + ':' + mavenProject.getMavenId().getArtifactId() + ':' + classifier + ':' + mavenProject.getMavenId().getVersion(), file.getPath()); } }