kwin commented on code in PR #169: URL: https://github.com/apache/felix-dev/pull/169#discussion_r925528093
########## tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java: ########## @@ -428,15 +428,27 @@ private boolean isMetadataUpToDate(File outputFile, MavenProject project) // generated last? Path cacheData = getIncrementalDataPath(project); if(!Files.isRegularFile(cacheData)) { + getLog().debug("No cache data file found at '" + cacheData + "', generating manifest."); return false; } long manifestLastModified = lastModified(cacheData); while (project != null) { - Path pom = project.getFile().toPath(); - if (manifestLastModified < lastModified(pom)) - { - return false; + if (project.getFile() != null) { + Path pom = project.getFile().toPath(); + if (manifestLastModified < lastModified(pom)) + { + getLog().debug("File at '" + pom + "' newer than cache data file, generating manifest."); Review Comment: Done in https://github.com/apache/felix-dev/pull/169/commits/4918d1fe5efdac4d1ca93b46b63f6983ce433c2a. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@felix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org