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
1
vote
0 answers

Monorepos, Typescript, Transitive dependencies, and package managers (pnpm)

So I just bootstrapped a monorepo using rush (pnpm). I have a library called web-commons that has dependencies " fastify, and others. I have a backend application called my-app. I want to use certain fastify types and modules in my-app, but I cannot…
caeus
  • 3,084
  • 1
  • 22
  • 36
1
vote
1 answer

Maven dependency tree / hierarchy not showing the truth

I was going to migrate an old Ant project existing of multiple single java projects to a multi-module maven project. All the libraries for have been stored in one local folder. For building up the dependency management I wanted to go the way to add…
J. Doe
  • 142
  • 1
  • 14
1
vote
1 answer

Can't find the Transitive Dependency using maven publication

I have checked multiple questions and have checked the answers as well but those are not working for me. LibraryA -> LibraryB -> App I want to access the classes of LibraryA from my App and I have added LibraryA in LibraryB and LibraryB is…
Arpit
  • 604
  • 5
  • 17
1
vote
2 answers

Are there any ways to fix Log4j vulnerability when it is being used as a transitive dependency

My project has a transitive dependency on log4j v1.2.16 through org.mobicents.servlet.sip package used in my project as a direct dependency. But org.mobicents.servlet.sip is no longer actively developed. Are there any options to fix this…
1
vote
2 answers

Getting link between two columns in pandas

I have a data frame with two columns. The two columns contain integer numbers. The second column contains numbers that are linked to the first column. In case there is no link between the two columns, the number in the second column will have zero…
SAB6
  • 311
  • 2
  • 6
1
vote
1 answer

How to fix webpack "Module not found" error for optional transitive dependency?

I have come across the following issue, one of the software libraries I'm using has an optional dependency on 'web-worker'. If the web-worker package is available it will use it, if it cannot find the web-worker package, it will use an alternative…
1
vote
0 answers

Not needed dll's from nuget in bin folder

In visual studio 2019, I've 2 projects. The first one is project refecenced in the second. In first there are nuget packages that i block transitive dependencies using PrivateAssets. The problem is some not needed dll from these nuget are in bin…
1
vote
0 answers

Is it possible to exclude transitive runtime scope dependency from dependencies in POM?

I have a spring boot project which is having runtime transitive dependency on slf4j and log4j. Because of this I am seeing slf4j multiple binding warning and then an IllegalArgumentExceptionIllegalArgumentException. You can find below entire…
1
vote
3 answers

How to debug conflicting dependencies in Maven project

When I build my Maven-managed Java project, two versions of the same artifact are installed into the build (a war file). I am pretty sure that it doesn't matter, but the artifact in question is com.fasterxml.jackson.core:jackson-annotations…
dbp
  • 91
  • 1
  • 12
1
vote
1 answer

How to force maven dependency version via dependencyManagement in parent pom?

Let's say B:1.0.1 has transitive dependency A:1.0.1, but the child project is supposed to depend on A:1.0.2 (with intentional overriding transitive dependencies). It is easy to discover that the order of dependencies in affect…
diziaq
  • 6,881
  • 16
  • 54
  • 96
1
vote
1 answer

How to export dependencies whole?

I have a library B that depends on another library A. A third library C depends on B and A. I can satisfy C's dependencies with dependencies { implementation files('/path/A.jar') implementation files('/path/B.jar') } but I would rather only…
peer
  • 4,171
  • 8
  • 42
  • 73
1
vote
1 answer

Couldn't understand managed version under Maven dependency hierarchy

In my pom.xml, I have a SikuliX Jar which has a transitive dependency on jna-platform. As seen in below image, version 4.5.2 has overrided version 5.4.0. But i dont understand, how this version is overrided as i have not specified any dependency…
1
vote
1 answer

tool to find transitive backward dependencies in java code

I need to find transitive backward dependencies , it looks like IntelliJ Idea does not do it - I use version Ultimate 2018.1 Example : class CC extends BB that implements AA , class EE has a field of class DD that has a field of class AA. So…
1
vote
0 answers

Producing ES6-module output from TypeScript, with Jest installed, without producing errors

I've got a very simple, one-file TypeScript project. I'm trying to produce ESM (ES6 module) output for that project. When I have TypeScript configured to produce ESM output, along the lines of this ... "compilerOptions": { "module": "ES2015", …
ELLIOTTCABLE
  • 17,185
  • 12
  • 62
  • 78
1
vote
2 answers

How transitive dependency work for second level dependency

I have following dependency tree. [INFO] +- net.sf.jasperreports:jasperreports:jar:6.5.1:compile [INFO] | +- org.eclipse.jdt.core.compiler:ecj:jar:4.4.2:compile [INFO] | +- org.codehaus.castor:castor-xml:jar:1.3.3:compile [INFO] | | +-…
abo
  • 378
  • 4
  • 19