jira-importer commented on issue #559:
URL: 
https://github.com/apache/maven-invoker-plugin/issues/559#issuecomment-2957801755

   **[Tuomas 
Kiviaho](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tuomas_kiviaho)**
 commented
   
   The problem is that even though metadata's `<lastUpdated>` is checked the 
existence of corresponding `<snapshotVersion><classifier>` of 
`SNAPSHOT<classifier>:<extension>` is not assured to exist in the repo that 
`SNAPSHOT` points to.
   
   ```java
   String key = SNAPSHOT + getKey( artifact.getClassifier(), 
artifact.getExtension() );
   merge( infos, SNAPSHOT, key );
   if ( !resolve( result, infos, key ) )
   {
       result.setVersion( version );
   }
   ```
   
    
   


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