Questions tagged [dependencies]

A dependency exists between two elements if changes to the definition of one element may cause changes to the other.

A dependency exists between two elements if changes to the definition of one element may cause changes to the other.

To quote from the 3rd edition of UML Distilled:

An element C (the client) depends on an element S (the supplier) if and only if changes to the definition of S may cause changes to C.

If the elements are classes, only the direct cause for change (i.e. not through a ripple effect) is called a dependency, i.e. the relation is not transitive.

For packages, C depends on S if a class in C depends on a class in S. Sometimes, the transitive closure is taken, i.e. the dependency of C on a package T can be caused by C depending on S depending on T via class dependencies.

References:

  1. Understanding Dependencies
  2. What is the difference between dependency and association?
12826 questions
5
votes
2 answers

Missing dependencies with Atmosphere and Jersey

I am trying Atmosphere together with Jersey to be able to broadcast messages to users. However on request to the Jersey endpoint, the following appears in the log and results in ServletException. SEVERE: The following errors and warnings have been…
Kristoffer
  • 1,633
  • 3
  • 19
  • 25
5
votes
5 answers

android studio error- mixing versions can lead to run-time crashes

I get an error after adding 'com.firebaseui:firebase-ui-auth:1.0.0' to the dependency. The error goes away when I delete 'com.firebaseui:firebase-ui-auth:1.0.0' from the gradle. Code and pic included below Help please apply plugin:…
kaka
  • 597
  • 3
  • 5
  • 16
5
votes
0 answers

Missing Android supportLibVersion library dependency

I attempted to add an Android library from source as shown in the accepted answer to: Adding Library Source into Android Studio I'm getting an error in the build.gradle file: Error:(4, 0) Could not get unknown property 'supportLibVersion' for object…
5
votes
1 answer

Override Maven Plugin Version from Command Line?

How can I override a plugin's version in command line without changing pom.xml? More specifically: I cannot compile apache shiro commit 8dd6a13. The reason is buildnumber-maven-plugin version 1.0-beta-4 is not available any more. When I modify…
user1393881
5
votes
1 answer

Problems with Testing Spring Boot Application with Multi Maven Project Setup

I am currently running into some problems with spring boot and multi maven project structure. I am using Spring Boot 4.3.1. My project structure looks as follows: parent -- pom.xml -- application -- pom.xml -- src -- main --…
user3278695
  • 113
  • 3
  • 10
5
votes
2 answers

Isn't ld checking for unresolved symbols in shared libraries redundant?

When linking a program against a shared object, ld will ensure that symbols can be resolved. This basically ensures that the interfaces between the program and its shared objects are compatible. After reading Linking with dynamic library with…
elik
  • 180
  • 1
  • 9
5
votes
1 answer

Does govendor automatically include transitive dependencies?

Let's say I add a new dependency X through govendor add or govendor fetch. This dependency X has a dependency on Y. Will govendor automatically pull in those dependencies as well? Or will I have to do govendor add Y. Does the behavior differ…
stephenbez
  • 5,598
  • 3
  • 26
  • 31
5
votes
2 answers

Maven dependency with type = pom

I declare in the parent POM org.apache.commons commons-lang3 ${commons-lang3.version}
LeshaRB
  • 1,345
  • 2
  • 23
  • 44
5
votes
1 answer

Android & iOS: How to handle dependencies when building an SDK

I'm currently working on an SDK which is available on both Android & iOS platform. For Android, we list dependencies in our Gradle file and use Maven to provide the SDK (so our dependencies are listed in the .pom file). For iOS, we use cocoapods to…
Simon Ninon
  • 2,371
  • 26
  • 43
5
votes
1 answer

Build a Scala package dependency graph

My scala (Activator + Play) project starts getting huge. I want to split it into multiple small packages. However, as a starting point I need to know which file/package depends on which file/package! How can I obtain a tree or a graph of…
Nicolas Cailloux
  • 418
  • 4
  • 13
5
votes
1 answer

How to remove dependencies from android project using Android Studio

i'm using android studio as IDE for my application developpement and i'm not sure about the fact that when i remove a dependency from my dependencies list in gradle all the related file are going to be remover or i have to remove all of them…
5
votes
1 answer

Tool or plugin to extract class and all of its dependencies from VS project

I have a very large project with lots of files. I need to extract only a few classes into a separate DLL, but the problem is that the classes have many dependencies on other files. Trying to make it manually, I've already spent several hours, and…
SharpAffair
  • 5,558
  • 13
  • 78
  • 158
5
votes
3 answers

Verify calls to dependency in unit test?

For this following class I want to write a unit test: public class SomeClass { private Dependency dependency; public SomeClass(Dependency dep){ this.dependency = dep; } private String processString(String s){ /* …
5
votes
4 answers

ApplicationContext import in spring

I'm learning Spring from this tutorial: http://courses.caveofprogramming.com/courses/the-java-spring-tutorial/lectures/38024 In this tutorial, instructor downloads spring dependencies (spring-beans, spring context, spring-core) in version…
Michal Ryzio
  • 51
  • 1
  • 1
  • 4
5
votes
0 answers

Xcode Dependency Analysis Error

Does anyone know why I am getting these code signing errors? For error one, I do not have 'In-app purchases' turned on in the project dependancies. I am trying to run my project on my iPhone but I keep getting these three errors. My project ran…
Jordan
  • 424
  • 5
  • 19
1 2 3
99
100