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

Use git submodules for reproducible builds (dependency management)?

I'm trying to come up with a way to handle Git project dependencies like the Swift Package Manager. I'd like to specifically capture that, let's say my app version 1.2, depends on framework A, version 1.0. When I then checkout v1.2 of my app, the…
Mark
  • 6,647
  • 1
  • 45
  • 88
1
vote
1 answer

Trying to modularize Gradle SpringBoot Project but getting "Error: cannot find symbol" when trying to build?

I had a working single-module Java project I am trying to break up into two modules: a library, and an application module. I pulled out the Java libraries from the top level build.gradle and stuffed them in the library build.gradle, and kept the…
1
vote
0 answers

Gradle dependency management for micro service projects

We are currently using gradle as a build tool. We use the micro services architecture so let's say we have project A, version 1 that generates A-v1.jar. Project B, version 1 is dependent on project A and other jars and produces B-v1.jar. Project C,…
1
vote
1 answer

How to install a manual downloaded composer-based plugin in a composer-based application?

for educational proposes I write my own PHP application and add a little plugin system. The application itself uses composer to manage required dependencies. It is possible that a plugin have his own dependencies (Guzzle etc.) and that two plugins…
Shutterfly
  • 199
  • 12
1
vote
0 answers

Sonatype Nexus: Hide Uploader's IP Address

I'm using a hosted sonatype nexus for dependency distribution but I want to hide the IP address of my computer from being easily accessible from browsing the repository. How can I disable this being shown?…
1
vote
0 answers

Native dependency management in .Net application

I have a .Net application which has a very large set of native dlls and misc. binary dependencies (200+mb and upwards of 1,000 files). Is there a standard acceptable way to manage these dependencies and drag them in at once for a .Net application?…
Ryan Griffith
  • 1,591
  • 17
  • 41
1
vote
1 answer

What causes Xcode gRPC-C++ Compile Error?

I keep on running into a problem while compiling my Xcode IOS app. I'm running into a problem everytime I try to run my app in that I am met with 100 issues from the gRPC-C++ package (see image below). I am not sure how I can fix these issues as I…
marco
  • 656
  • 2
  • 6
  • 22
1
vote
4 answers

AAR dependencies - bundle or not?

I am developing my own SDK, which in turn depends on some 3rd party SDKS. For example - OkHttp. Should I add OkHttp to my build.gradle, or let the users of my SDK include that? In this scenario, they will probably "anyway" use it, so its safe to say…
elcuco
  • 8,948
  • 9
  • 47
  • 69
1
vote
1 answer

How to manage legacy dependencies in a R package?

I'm working on a fork of a package that depends upon the ReporteRs library. However, this library has been deprecated by its owner for a few years, in favour of the officer and flextable libraries. On of the main reasons for this depreciation is not…
Dan Chaltiel
  • 7,811
  • 5
  • 47
  • 92
1
vote
1 answer

Puzzling incompatible peer dependency during Angular update from 6 to 8

Following the Angular update guide (https://update.angular.io/) I started with $ ng update @angular/cli @angular/core But that yielded this list of some incompatibilities: Package "codelyzer" has an incompatible peer dependency to "@angular/core"…
Michael Sorens
  • 35,361
  • 26
  • 116
  • 172
1
vote
0 answers

Maven Dependency Plugin: Incorrect analysis for dependencies in tests?

I'm using maven-dependency-plugin:3.1.1:analyze-only to control my dependencies. We have a corporate-wide parent POM that defines the possible dependencies in dependencyManagement and there are dependencies in every Maven scope. Also, I configured…
eerriicc
  • 1,124
  • 4
  • 17
  • 29
1
vote
1 answer

How to run unit tests with shaded dependencies?

I am running into test failures with a maven project that I do not understand. The maven project is set up as a multi-module project, and it shaded one of its dependencies (Google Guava, because Spark itself has a conflicting dependency for Google…
Josh Reback
  • 529
  • 5
  • 16
1
vote
1 answer

No such module error in Swift after Cocoapod

Using Swift5 and Xcode-10.2. After a Cocoapods install usage, I cannot import the Swift module - Why ??? And yes, there is plenty of posts out there that give ideas why. But none of them worked for me so far. Here is my pod file: project…
iKK
  • 6,394
  • 10
  • 58
  • 131
1
vote
1 answer

Maven test transitive scope

From the maven docs , we get that if direct dependency of our project A have scope test and its transitive dependency have scope test , then that transitive dependency won't be taken in test classpath of our project A [Project A] -> [Direct…
Number945
  • 4,631
  • 8
  • 45
  • 83
1
vote
0 answers

gradle load jar from plain url as dependency

I want to load a jar, that is hosted under 'releases' on github as a dependency. This jar does not exist in a repo. After some research I found that 'faking' a custom ivy repo is the way to go. See here: How do you handle web hosted .jar-files as…
1 2 3
99
100