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
1 answer

gradle earlib not pulling transitive libraries

I got gradle 3.5.1 and using ear plugin. The documentation says that deploy configuration is not transitive but earlib actually is (https://docs.gradle.org/3.3/userguide/ear_plugin.html). My configuration is a below dependencies { earlib( …
Greg Hill
  • 2,148
  • 2
  • 23
  • 27
0
votes
1 answer

Is this a transitive dependency?

I have this simplified table: The business states that anyone with a role_id of 3 needs to have a leader_id, while anyone with any other value for role_id should not have a leader_id (null). By knowing the value of leader_id we now narrow down the…
0
votes
1 answer

Transitive dependencies not getting reflected in android application

I have created an android library which has certain dependencies like volley, SqlCipher etc in its gradle file. When I use the aar file for this library in another project, I am getting the ClassNotFoundError w.rt. SqlCipher and Volley. I think it…
0
votes
1 answer

How to add transitive dependencies of Android archive in gradle

At our company, we have started modularizing our android projects and each has several dependencies. We use JFrog artifactory to host our aar files. Here is the code: Library A: compile…
android_eng
  • 1,370
  • 3
  • 17
  • 40
0
votes
1 answer

Maintaining subproject dependencies in big project

I am maintaining big project with multiple modules (currently I maintain each module as separate GIT repo). There is interdependency between these modules which creates 5 level dependency tree. Currently, I build each module(git repo) individually…
0
votes
0 answers

How to specify dependency as transitive, so it includes all inner dependencies automatically?

I'm currently in the process of adding the Jasper API to our project, and I've made a JUnit-test to test the connection. Our Maven project architecture is one parent project, with a few inner projects. I've added the dependencies I need for jasper…
Kevin Cruijssen
  • 9,153
  • 9
  • 61
  • 135
0
votes
1 answer

How does Maven handle transitive dependencies inherited from parent?

Given the parent and child pom below and lib1 and lib2 both include the class foo.bar.Test. parent pom 4.0.0 foo foo-parent 1.0
Zack
  • 3,819
  • 3
  • 27
  • 48
0
votes
1 answer

Parceler performance with transitive entities

I'm using parceler, and I'm trying to define a structure like this one: Category 1..* Product 1..* Images Each entity has a list, and a parent instance, like this @Parcel public class Category { List products; ... } @Parcel public…
voghDev
  • 5,641
  • 2
  • 37
  • 41
0
votes
2 answers

Buck: transitive dependencies

Main project A (APK) depends on sub-project B (AAR). Both A and B depend on C (AAR). The problem is C included twice which cause: "values.xml:XXX: error: Attribute "YYY" has already been defined" How would I exclude transient dependency C from…
surlac
  • 2,961
  • 2
  • 22
  • 31
0
votes
0 answers

Can Gradle read transitive dependencies from pom.xml contained in local JAR files?

Unlike external dependencies (from Maven, Ivy, etc.) local JAR files usually do not provide a list of transitive dependencies for Gradle. Unless they theoretically do in form of files pom.xml and pom.properties in directory…
0
votes
0 answers

transitive dependencies not working for card.io and aar library using gradle

Hi Im using transitive dependency for card.io to aar library using gradle. But its throwing class not found exception from the application to card.io. I have followed following link1 and link2 but the mentioned solutions are not working for my…
0
votes
1 answer

Maven central jar with "outgoing" dependency

The dumbster:dumbster:1.6 that we using (from Maven Central) declares a dependency to javax.mail:mail:1.3.2. Unfortunately, Maven Central contains jars for javax.mail:mail only starting from version 1.4. Everything works fine if I add a dependency…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
0
votes
0 answers

Maven: Configure transitive dependency resolution in case of version conflict

I have read that the Maven dependency resolution mechanism can replace my specified version (e.g. 1.2.3) by some lower version (1.0.0) if this other version is "nearer" in the dependency tree. I know that I can exclude this behaviour by specifying…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
0
votes
1 answer

Managing Maven's Runtime and transitive dependencies in a Non Maven Project

I have created a Maven project (re-usable library) which has many dependencies(Compile time and run time) which also transitively dependent on many others. In maven, i can add the dependencies in pom.xml and its transitive dependencies will be taken…
0
votes
0 answers

Can I refer one of transitive dependency's version in pom.xml?

Let's say I have a project whose dependency:tree prints like this. [INFO] group:a:jar:1.0 [INFO] +- group:b:jar:1.0:compile [INFO] | +- group:c:jar:1.0:compile Can I refer group:c:version which is 1.0 in group:a's pom.xml? I know it's weird but…
Jin Kwon
  • 20,295
  • 14
  • 115
  • 184