eo icon indicating copy to clipboard operation
eo copied to clipboard

ResolveMojo+Central must fail if there are transitive dependencies

Open yegor256 opened this issue 3 years ago • 7 comments

If the dependency we found contains any transitive dependencies, we should fail the build.

yegor256 avatar Jul 27 '22 12:07 yegor256

@Graur pls, take care of this

yegor256 avatar Jul 27 '22 12:07 yegor256

@l3r8yJ please, try to solve this issue

Graur avatar Aug 01 '22 08:08 Graur

@Graur got it!

l3r8yJ avatar Aug 01 '22 09:08 l3r8yJ

@Graur Did I understand correctly that if there are such dependencies, it should stop the build?

image

l3r8yJ avatar Aug 01 '22 09:08 l3r8yJ

@l3r8yJ Please, read about transitive dependencies here: https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#:~:text=System%20Dependencies-,Transitive%20Dependencies,from%20the%20remote%20repositories%20specified.

Graur avatar Sep 01 '22 14:09 Graur

@Graur I'm trying to create a method anologue to checkConflicts(), is it true that checkConflicts() checks for the same dependencies of different versions?

l3r8yJ avatar Sep 03 '22 14:09 l3r8yJ

@l3r8yJ Yes, it is true

Graur avatar Sep 04 '22 08:09 Graur

@DmitryFullStack Please, help us here

Graur avatar Oct 04 '22 14:10 Graur

@volodya-lombrozo Can you help us here?

Graur avatar Oct 24 '22 14:10 Graur