jira-importer commented on issue #518:
URL: https://github.com/apache/maven-indexer/issues/518#issuecomment-2965147049

   **[Fabian 
Windheuser](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER285178)**
 commented
   
   I also wonder if we want to have this check in the 
getSnapshotGav#M2GavCalculator method:
   
   
https://github.com/apache/maven-indexer/blob/4f17e8e6304e0ff605f0e366992918dbce1227b6/indexer-core/src/main/java/org/apache/maven/index/artifact/M2GavCalculator.java#L124-L129
   
   Currently, the exception will appear again as soon as a new "metadata" file 
appears that we did not account for. We probably want to be a bit defensive 
here and only try to parse the artifact if it matches the expected format? 
Happy to add this as a follow-up PR if desired!
   


-- 
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

Reply via email to