Questions tagged [transitive-dependency]

A transitive dependency refers to a code path or datasource which has an indirect dependency, such as an object, function, record, or file.

A transitive dependency requires implicit code or data to exist as a prerequisite to access itself.

References

238 questions
0
votes
0 answers

Removing transitive 'project' dependencies in sbt

I was wondering If it is possible to exclude local transitive 'project' dependencies in an sbt build. given 3 modules: module1, module2 and module3 module 1 depends on module 2 module 2 depends on module 3 in this scenario I want to exclude all…
0
votes
0 answers

Install transitive dependency version automatically in python

I am writing a python application and I have the following dependencies: Requires-Dist: keyring (==23.9.3) Requires-Dist: keyrings.alt (==4.2.0) Requires-Dist: pandas (==1.3.5) Requires-Dist: pyarrow (==10.0.0) Requires-Dist: requests (==2.28.1)…
0
votes
0 answers

android, why published to local maven does not produce the transitive dependency

Having a android library which has some transitive dependencies. api 'com.squareup.retrofit2:retrofit:2.9.0' api 'com.squareup.retrofit2:converter-gson:2.9.0' api "com.squareup.okhttp3:okhttp:4.10.0" and with id…
lannyf
  • 9,865
  • 12
  • 70
  • 152
0
votes
0 answers

Is there any function in pandas to apply transitive property,i.e., if value in column A=column B, value in column B = column C, then A=C?

Value in column A= column B and column B= column C and column A=column C for large number of values in columns. Is there any function to implement this in pandas? I tried implementing this by using map function, which is not working.
0
votes
0 answers

Downgrading transitive gradle dependancy

Lets say I have 3 dependencies A, B and C. A depends on C V1.0 while B depends on C V2.0. If A uses C V2.0 then it throws an error and if B uses C V1.0 it will also thrown an error. These are both obviously unwanted behaviors. So I want a dependency…
Fluffy Cow
  • 63
  • 1
  • 7
0
votes
0 answers

Use of incompatible conflicting transitive dependency in gradle

Say I have a two direct dependencies A and B to my project, where one of the direct dependencies (say A) depends on package X version 3, and the other (say B) depends on package X version 4 and package X 4 has breaking changes compared to package X…
0
votes
1 answer

Android Gradle - transitive dependencies take precedence (upgrade) the declared (first-level) one

What I have in my build.gradle: implementation "androidx.recyclerview:recyclerview:1.1.0" implementation 'com.github.kirich1409:viewbindingpropertydelegate-noreflection:1.5.6' The latter dependency has its own RecyclerView transitive…
0
votes
1 answer

Maven: ignore the distribution management repositories in transitive dependencies

i have a multi module project. moduleA is download dependencies dep1, dep2. now dep1 has its own repositories(nexus-snapshot, maven central, xyz) defined and has dependencies, which attempt to be downloaded from it own list of repositories. now of…
0
votes
0 answers

Maven pull an another version of a transitive dependency

I have a maven project which uses dependency "A" with version 2.12.6. Then I added this project as a maven dependency "B" in pom.xml of another project. The issue is that the transitive dependency "A" is pulled with version 2.10.3. I executed the…
0
votes
0 answers

One or more dependencies were identified with known vulnerabilities

In my android project, I am using dependencyCheckAnalyze gradle command to check dependency vulnerability. I am currently seeing this error message through Circle CI and give me build failure. One or more dependencies were identified with known…
foseja
  • 233
  • 2
  • 10
0
votes
2 answers

How to use dependencies from spring-boot-starter-parent?

I have a Spring Boot application using spring-boot-starter-parent 2.5.4: org.springframework.boot spring-boot-starter-parent
du-it
  • 2,561
  • 8
  • 42
  • 80
0
votes
2 answers

In Apache maven, how do you override the scope of all transitive dependencies of a library?

E.g. If I have a project that depends on a library: "org.apache.hive:hive-common:jar:2.1.1-cdh6.3.4", with a provided scope. Now if I want to declare all its transitive dependencies as "provided", is it possible? Not doing so will cause maven to…
tribbloid
  • 4,026
  • 14
  • 64
  • 103
0
votes
1 answer

Transitive Dependency Version Management

I have a maven project with some dependency written in pom file. For those Direct Dependencies we have lots of Transitive Dependency. The version of those Transitive dependency have some security issues. So is there any way that i can change the…
Shivam
  • 63
  • 9
0
votes
1 answer

gradle 7 missing transitive dependencies

I just upgraded my projects to gradle 7 and am running into missing transitive dependencies. I tried switching my build.gradle file to use 'api' in the dependencies but that did not fix it. projectA has a dependency on projectB and projectB has a…
Girish
  • 21
  • 1
  • 5
0
votes
1 answer

maven dependency managment and version change of transitive dependency

How to safely manage with such a problem: In maven we have 2 libs (A with version 20, B with version 30) that depends on C (1.0 and 1.1 respectively). We get jar hell in target libs *--A20--C1.0 \--B30--C1.1 Then I add dependencyManagment section…