michael-o commented on code in PR #806: URL: https://github.com/apache/maven/pull/806#discussion_r990610911
########## maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java: ########## @@ -124,7 +126,50 @@ public Collection<? extends Metadata> finish( Collection<? extends Artifact> art } } } - return plugins.values(); } + + private PluginInfo extractPluginInfo( Artifact artifact ) + { + // sanity: jar, no classifier and file exists + if ( artifact != null + && "jar".equals( artifact.getExtension() ) + && "".equals( artifact.getClassifier() ) + && artifact.getFile() != null ) + { + Path artifactPath = artifact.getFile().toPath(); + if ( Files.isRegularFile( artifactPath ) ) Review Comment: Thanks, that is what I wanted to hear. We won't get so far w/o building the JAR. -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org