/** * Loads the Maven <tt>pom.properties</tt> for the specified artifact. * * @param groupId * The artifact's group ID. * @param artifactId * The artifact's ID. * @return The parsed pom properties, or <tt>null</tt> if the resource could * not be found. */ public static Properties loadPomProperties(String groupId, String artifactId) throws IOException { String properties = "META-INF/maven/" + groupId + "/" + artifactId + "/pom.properties"; return ResourceUtil.getProperties(properties); }