maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6704) MavenRepositorySystemUtils.newSession() misses assignment
Date Thu, 25 Jul 2019 23:01:00 GMT

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

Hudson commented on MNG-6704:
-----------------------------

Build unstable in Jenkins: Maven TLP » maven » master #249

See https://builds.apache.org/job/maven-box/job/maven/job/master/249/

> MavenRepositorySystemUtils.newSession()  misses assignment
> ----------------------------------------------------------
>
>                 Key: MNG-6704
>                 URL: https://issues.apache.org/jira/browse/MNG-6704
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.6.1
>            Reporter: guofei
>            Assignee: Michael Osipov
>            Priority: Trivial
>             Fix For: 3.6.2
>
>
> `new ChainedDependencyGraphTransformer` seems make no sense here.
> {code:java}
> public static DefaultRepositorySystemSession newSession()
> {
> // ...
> DependencyGraphTransformer transformer =
> new ConflictResolver( new NearestVersionSelector(), new JavaScopeSelector(),
> new SimpleOptionalitySelector(), new JavaScopeDeriver() );
> // seems unnecessary
> new ChainedDependencyGraphTransformer( transformer, new JavaDependencyContextRefiner()
);
> session.setDependencyGraphTransformer( transformer );
> // ...
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message