You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Nick Hensel <ni...@icloud.com.INVALID> on 2024/10/15 06:39:25 UTC
Maven Resolver 2.x: Different results when dependency resolving
Hi there,
I'm currently using Maven Resolver 2.0.1 (I hope at least, the
dependencies versions are somehow a mess when using resolver 2.x).
The problem I came across is that the resolved dependencies are
different about each run. It looks like that the missing/new
dependencies are always the same.
missing resolved dependencies compared to the previous run are listed
after ...lockfile.Lockfile -
then for a couple of runs nothing changes
until they're somehow resolved again randomly.
This pattern repeats on different frequencies all the time.
I had the same problem already when using resolver 2.0.0 and 1.x. The
relevant code can be found here:
https://codeberg.org/goldmensch/jack/src/branch/main/src/main/java/io/github/goldmensch/dependencies
Note: The lockfile doesn't change resolution in any way, it's just
implemented "above" it. (checksum checks)
Hope anyone knows a solution, I tried to investigate the problem but
didn't got nowhere.
Best regards,
Nick Hensel
Re: Maven Resolver 2.x: Different results when dependency resolving
Posted by Nick Hensel <ni...@icloud.com.INVALID>.
I correct:
but got nowhere*
:)
On 15.10.24 08:39, Nick Hensel wrote:
>
> Hi there,
>
> I'm currently using Maven Resolver 2.0.1 (I hope at least, the
> dependencies versions are somehow a mess when using resolver 2.x).
>
> The problem I came across is that the resolved dependencies are
> different about each run. It looks like that the missing/new
> dependencies are always the same.
>
> missing resolved dependencies compared to the previous run are listed
> after ...lockfile.Lockfile -
>
> then for a couple of runs nothing changes
>
> until they're somehow resolved again randomly.
>
> This pattern repeats on different frequencies all the time.
>
>
> I had the same problem already when using resolver 2.0.0 and 1.x. The
> relevant code can be found here:
> https://codeberg.org/goldmensch/jack/src/branch/main/src/main/java/io/github/goldmensch/dependencies
>
> Note: The lockfile doesn't change resolution in any way, it's just
> implemented "above" it. (checksum checks)
>
>
> Hope anyone knows a solution, I tried to investigate the problem but
> didn't got nowhere.
>
> Best regards,
>
> Nick Hensel
>