[ 
https://issues.apache.org/jira/browse/MNG-7126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17307274#comment-17307274
 ] 

Michael Osipov commented on MNG-7126:
-------------------------------------

So, it basically boils down to: 
https://github.com/apache/maven/blob/67125676eef313e592da6424a9be0c90c5e6bca5/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java#L122-L125

We have these spots: 
https://github.com/apache/maven-resolver/blob/63f5a0a4b2191df76adb10b1f77250e7f964b323/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/DefaultArtifactResolver.java#L573
 and 
https://github.com/apache/maven-resolver/blob/1240e229c3aff76ca8bc89409362f1223c4fa046/maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/DefaultMetadataResolver.java#L296
 and now need first to figure out whether our config ({{NEVER}} arrives there.

If this is properly transported to Resolver then this is a resolver issue.

> Maven option -nsu --no-snapshot-updates not working
> ---------------------------------------------------
>
>                 Key: MNG-7126
>                 URL: https://issues.apache.org/jira/browse/MNG-7126
>             Project: Maven
>          Issue Type: Bug
>          Components: Command Line
>    Affects Versions: 3.5.0
>         Environment: Windows/Linux. Doesn't seem to matter.
>            Reporter: Bill
>            Priority: Major
>
> Essentially the option seems to just not work.
> I found that the same issue outlines in the this Jira for Maven 3.0.3 still 
> applies to Maven 3.5.0: https://issues.apache.org/jira/browse/MNG-5064
> https://issues.apache.org/jira/browse/MNG-5064
> Here someone is mentioning still having the issue Maven 3.2.5: 
> [https://issues.maven.apache.narkive.com/gF3CQyTF/jira-commented-mng-5064-mvn-nsu-no-snapshot-updates-should-not-download-snapshots-and-break-local]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to