rfscholte commented on a change in pull request #421: URL: https://github.com/apache/maven/pull/421#discussion_r549377500
########## File path: maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java ########## @@ -86,6 +87,16 @@ void setFile( File destination ); + default Path getPath() + { + return this.getFile().toPath(); Review comment: If `getFile()` is `null`, it should not throw an NPE ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org