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

Eclipse is not really helpful with maven dependencies

Whenever I'd like to check whether some dependencies of my project have newer versions, at the end I allways find myself googling after it. My problem is independent from the given version of Eclipse, it's been presense since I use this IDE. I have…
hurjup
  • 23
  • 5
1
vote
1 answer

Whats difference between dependency management and build management tool?

I'm PHP Developer & new to Java I'm learning these concepts. I heard Maven is exactly what the composer do in PHP, but the composer is a "Dependency management tool" but Maven is called "Build Management tool", Can someone explain the difference…
1
vote
0 answers

Shaded dependencies' dependencies in Maven

Lets say there exists a library x.y.z-1.0, x.y.z-2.0, x.y.z-3.0 that uses a.b.c-1.0, a.b.c-2.0, a.b.c-3.0 respectively. I am currently writing another library (com.mysdk) that uses x.y.z-2.0. But I have not check the compatability of my library with…
1
vote
2 answers

ERROR: Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.squareup.retrofit2:retrofit:2.3.0

This code shows retrofit dependency error, I am currently using Android Studio 3.5.2. Please help me to resolve this dependency ERROR: Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve…
1
vote
0 answers

Should I copy PSR interfaces or add external depndency?

For example, I really like the Logger Interface by PHP Fig & want to use it as an interface in one of my packages. I'd rather not add external dependencies (through composer), so I'm thinking about copy+pasting what they have into my own interface,…
Reed
  • 14,703
  • 8
  • 66
  • 110
1
vote
1 answer

React-native load dependency only for one platform (android or ios)

I'm working on a project where it is needed to add an specific dependency for a feature on iOS and i would like to avoid to include this library in the android bundle. Is it possible? It isn´t a response to change the name of the android or ios…
Makx
  • 21
  • 6
1
vote
1 answer

Will "composer install" update vendor files after composer.lock file is modified?

Let's say that multiple people are working on the same project where vendor files are maintained with composer. Person A runs: composer update command to update dependencies to its latest versions and stores the changes into the composer.lock…
MilanG
  • 6,994
  • 2
  • 35
  • 64
1
vote
1 answer

Cannot keep dependency version in gradle.properties

I need to keep versions of dependencies in gradle.properties. gradle.properties: springBootVersion = '2.1.9.RELEASE' build.gradle: plugins { id 'io.spring.dependency-management' version '1.0.8.RELEASE' id 'org.springframework.boot' version…
skozlov
  • 384
  • 1
  • 12
1
vote
2 answers

How can I find out, which dependency is missing for a pip package?

I have installed a pip package, but trying to use it I get errors about some modules or classes not being available. How can I investigate the root cause myself? Motivation On OpenSuse Leap 15.1, no binary package for AutoKey is available. As a…
kdb
  • 4,098
  • 26
  • 49
1
vote
0 answers

How to download dll from maven repo in runtime?

I use eclipse-aether for downloading jars in runtime, but now I need to download dll from maven. I tried a lot different things but failed. One of them DefaultArtifact defaultArtifact = new DefaultArtifact( "com.tagtraum", …
1
vote
1 answer

Install Maven artifact from remote repository like npm install

I'm searching for a Maven CLI command to install a Maven artifact (e.g. jar library) from a remote Maven repository. I don't want to manually download the artifact first, so that I can install it. I'm looking for a command like npm install rxjs,…
BuZZ-dEE
  • 6,075
  • 12
  • 66
  • 96
1
vote
0 answers

yarn creating seemingly unnecessary dependencies

I've published a private package to a URL as a tarball and am consuming it in another package, but when I install it it is installing things it shouldn't (in my opinion). My private package's package.json looks like this in dependencies: …
1
vote
2 answers

How to use gradle feature variant dependecies in tests?

I am migrating a Maven library project to Gradle. The original project also has optional dependencies. I use the java-library plugin but moving the formerly optional dependencies to implementation results in runtime dependencies instead of compile.…
Arne Burmeister
  • 20,046
  • 8
  • 53
  • 94
1
vote
0 answers

Maven dependency with scope doesn't download from custom repository

In pom.xml I have a dependency management section. org.springframework.cloud
seltsam
  • 11
  • 1
1
vote
1 answer

how force download aar version of dependencies in gradle

Recently I upgraded glide from 4.8.0 to 4.9.0. As you can see added some extra dependencies in that latest version: https://search.maven.org/artifact/com.github.bumptech.glide/glide/4.9.0/aar It added vectordrawable-animated 27.1.1
beigirad
  • 4,986
  • 2
  • 29
  • 52