Questions tagged [dependency-management]

The management of dependencies, for example third party libraries, that are used by a software project.

The management of dependencies, for example third party libraries, that are used by a software project. This handles storage and distribution of these dependency artifacts, as well as version management for them.

2928 questions
40
votes
4 answers

How to manage different support library versions for 3rd party deps with gradle?

I have a bunch of third party libs that I include in my base application. I cannot control the support library those 3rd party modules include. This makes it hard to have the same version of the android support library in my application. I know…
40
votes
5 answers

What is the difference between "+-" and "\-" in maven dependency tree output?

If we consider the following example, what is the difference between "+-" and "\-" symbols and what do they signify? [INFO] [dependency:tree] [INFO] org.apache.maven.plugins:maven-dependency-plugin:maven-plugin:2.0-alpha-5-SNAPSHOT [INFO] +-…
40
votes
3 answers

Check RPM dependencies

When you are installing a program using .deb packages on Ubuntu, you can check dependencies of package using Ubuntu Packages Search. For example I can see dependencies of Wireshark from here. As you can see, dependencies marked by red bullet. If you…
SuB
  • 2,250
  • 3
  • 22
  • 37
39
votes
4 answers

clojure and leiningen - using a git repository as dependency

Is it possible to have leiningen pull a project directly from a git repository (on github) as a dependency? Using Bundler with Ruby, it is possible to map a gem to a git repo, allowing for rapid development and integration of dependent…
Toby Hede
  • 36,755
  • 28
  • 133
  • 162
37
votes
2 answers

Maven dependency resolution and scope overriding

Disclaimer (I originally asked the question in a very detailed manner over here. I've excerpted it here as the maven-users mailing list has gone quiet on this question.) (not just another newbie question) Reference My reference material…
Laird Nelson
  • 15,321
  • 19
  • 73
  • 127
37
votes
6 answers

Multiple Dependency Scopes in POM

I have a dependency in my POM that needs to be set to "provided" so it is not included at compilation, but it can still be referenced within my project. I would like the same dependency to have a scope of "test" when I go to run tests so I do not…
Steve
  • 1,099
  • 2
  • 13
  • 15
37
votes
5 answers

How to view full dependency tree for nested Go dependencies

I'm trying to debug the following build error in our CI where "A depends on B which can't build because it depends on C." I'm building my data service which doesn't directly depend on kafkaAvailMonitor.go which makes this error hard to trace. In…
Charlie
  • 2,004
  • 6
  • 20
  • 40
37
votes
2 answers

Package Manager vs Dependency Manager

What is the difference between a package manager and a dependency manager?
Erlan
  • 2,010
  • 1
  • 22
  • 31
37
votes
2 answers

Publish Snapshot vs Publish Release in Gradle With Continuous Integration

I'm just learning Gradle, coming from both an Ant+Ivy and Maven background and I'm trying to wrap my head around the proper way to publish a release version of my software using gradle. I also need to constantly integrate my projects without having…
dev
  • 2,949
  • 5
  • 37
  • 48
36
votes
4 answers

Is there any way to retrieve a dependency tree from yum?

To reduce the chance of the XY problem, I'm trying to install PostGIS on a clean, virtual RHEL5 installation with heavy restrictions. I do not know if we (as a company) have a RH subscription. # yum install postgis Loaded plugins: product-id,…
Sean Allred
  • 3,558
  • 3
  • 32
  • 71
36
votes
1 answer

Maven "versions" plugin - how to exclude alpha/beta versions from response?

I have an issue concerning the plugin versions. When it generates a report with the goal: mvn versions:display-dependency-updates It suggest is a lot of libraries that with beta or alpha versions. org.hibernate:hibernate-validator .........…
Ivan Tamayo
  • 361
  • 3
  • 5
35
votes
4 answers

Haskell Stack install package dependency from github

Is it possible to install a version of a package from github using Haskell stack? e.g. in a .cabal or a stack.yaml file, how can I point a dependency at a git repo/branch/revision?
Abraham P
  • 15,029
  • 13
  • 58
  • 126
34
votes
1 answer

Creating Dependency Graphs in Python

I have inherited a huge codebase that I need to make some small changes into. I was wondering if there are utilities that would parse python code and give dependencies between functions, as in if I make changes to a function I want to be sure that I…
anijhaw
  • 8,954
  • 7
  • 35
  • 36
33
votes
3 answers

Where to store proto files which are shared among projects?

I have project A and project B. They may be in different programming languages. Project A exposes an API using proto files, which project B will use to then generate the API in the programming language which project B uses. But where are the proto…
stwykd
  • 2,684
  • 3
  • 19
  • 20
32
votes
1 answer

"optional" dependency with scope "provided" in Maven

Maven is a bit over my head sometimes... I have created a library which has an optional dependency on slf4j and on log4j. By optional, I mean: My library needs those logging frameworks at compile time My library doesn't need them at runtime, but if…
Lukas Eder
  • 211,314
  • 129
  • 689
  • 1,509