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
55
votes
4 answers

Missing artifact com.sun.jdmk:jmxtools:jar:1.2.1

I have created simple project from maven-achetype-quickstart under Eclipse Indigo, then I went to pom.xml gui editor and in dependencies tab added dependency log4j by search in appropriate dialog. Now my pom.xml looks like
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
55
votes
2 answers

How to install / update package with pipenv without updating the rest of packages

I use pipenv (version 2018.11.26) to manage dependencies in my project. Sometimes I want to add or update only one package and don't change versions of other packages. How can I achieve that? I've tried both pipenv update --selective-upgrade…
jozo
  • 4,232
  • 1
  • 27
  • 29
55
votes
4 answers

What is Cocoapods?

What is Cocoapods? I've seen that a lot of developers have been using Pods when developing apps to install APIs, but I'm not grasping why you couldn't just import the files manually. What is their purpose, and how are they helpful?
James
  • 717
  • 2
  • 6
  • 9
52
votes
5 answers

Maven Multi Module benefits over simple dependency

I have some years of experience with maven projects, even with multi modules ones (which has made me hate the multi modules feature of maven (so the disclaimer is now done)) and even if I really like maven there is something I cannot get a clear…
benzonico
  • 10,635
  • 5
  • 42
  • 50
49
votes
4 answers

'Provided' dependency in Gradle

I have build.gradle in front of me and there are some dependencies declared as provided but in documentation I do not see this dependency scope. dependencies { compile("org.springframework.boot:spring-boot-starter-web:1.2.4.RELEASE") .... …
ps-aux
  • 11,627
  • 25
  • 81
  • 128
49
votes
4 answers

Update multiple dependencies with Bower

I listed (and/or installed) several dependencies with Bower inside the bower.json file and/or with bower install https://github.com/username/project.git That worked fine. Now I can list all them with bower list and then I can pick the name of…
kaiser
  • 21,817
  • 17
  • 90
  • 110
47
votes
3 answers

Solving Maven dependency convergence issues

I use the maven-enforcer-plugin to check for dependency convergence issues. A typical output would be: [WARNING] Rule 1: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message: Failed while enforcing releasability the…
Duncan Jones
  • 67,400
  • 29
  • 193
  • 254
46
votes
4 answers

Python dependency hell: A compromise between virtualenv and global dependencies?

I've tested various ways to manage my project dependencies in Python so far: Installing everything global with pip (saves spaces, but sooner or later gets you in trouble) pip & venv or virtualenv (a bit of a pain to manage, but ok for many…
Alex
  • 2,784
  • 2
  • 32
  • 46
46
votes
2 answers

Is it possible to add a local dependency to .podspec file?

I'm using cocoapods now I would like to add a local pod dependency in my project, something like: s.dependency = 'my pod', :path => '' but I think is not possibile, some ideas?
Luca Becchetti
  • 1,210
  • 1
  • 12
  • 28
45
votes
2 answers

Interpreting "omitted for conflict" in maven 2 dependency tree

This is a dependency tree generated by Maven 2.2.1 with mvn -o dependency:tree -Dverbose -Dincludes=log4j [INFO] [dependency:tree {execution: default-cli}] [INFO] com.openboxes.renderingservice:common:jar:1.0 [INFO] +-…
Pino
  • 7,468
  • 6
  • 50
  • 69
44
votes
11 answers

Dependency Injection vs Service Location

I am currently weighing up the advantages and disadvantages between DI and SL. However, I have found myself in the following catch 22 which implies that I should just use SL for everything, and only inject an IoC container into each class. DI Catch…
42
votes
5 answers

How do I connect bower components with sails.js?

I'd like to be able to install Javascript dependencies through bower and use them in a sails.js app, but I can't figure out a way to do this with out just copying an pasting files from the bower_components folder to the Sails assets folder. Ideally…
Cole Reed
  • 1,036
  • 1
  • 10
  • 12
41
votes
8 answers

NuGet packages in Unity

I want to use some NuGet packages inside Unity. I achieved that Unity finds the downloaded DLLs according to this article (https://www.what-could-possibly-go-wrong.com/unity-and-nuget/). The nuget.config file can be configured to download the…
41
votes
2 answers

iOS CocoaPods - how to find out available versions of a specific pod, not cocoapods itself?

I'm trying to revert to a previous version of a specific pod, but cant easily find a command for listing all versions I can revert to. Let's say I have: pod 'AFNetworking', '~> 2.3.0' How can I learn what versions of a specific cocoapod (ex:…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
41
votes
17 answers

Why can't eclipse resolve class in same package?

I hit F5 ~1000 times and restarted eclipse (also with -clean), deleted /bin, but nothing helps. Manually importing DoodleClient does not help. DoodleClient exists and is perfectly fine, everything worked before. Clicking on "Import 'DoodleClient'…
Cedric Reichenbach
  • 8,970
  • 6
  • 54
  • 89