Issues regarding defining builds with well-defined dependencies library versions (for Java mainly using maven's Dependency management)
Questions tagged [build-dependencies]
196 questions
9
votes
1 answer
Limit displayed depth of gradle dependencies task
Using gradle dependencies I get a huge list of all dependencies. Showing all dependencies the projects I depend on have. Is it possible to limit the depth of the shown list?
Example:
+--- com.company.common:e-common-junit:0.29.0-SNAPSHOT
| +---…

Peter
- 1,844
- 2
- 31
- 55
9
votes
2 answers
Xcode how to add an external project
I need to add an external project to my Xcode project, the reason for this is I need to add a Target Dependency on that external projects static library.
I can't seem to add it in the way I need, I would like it like this:
However, when I add…

Daniel
- 23,129
- 12
- 109
- 154
8
votes
2 answers
Can I nest subrepos in Mercurial?
I am having trouble setting up a project in Mercurial with subrepos.
Goal:
I want to set up the structure like so:
-- Build_Repo (this repo will be used to track dependencies)
-- Subrepo_A (this is the main source)
-- Modules (Part of…

Craig Smitham
- 3,395
- 4
- 31
- 38
8
votes
1 answer
How to install a Debian package's Build-Depends and Depends
If I have a debian/control file with Build-Depends and Depends entries.
How do I install both sets of dependencies?
At the moment I'm using the following command to create a stub package that depends on the Build-Depends but not the Depends.
$…

jshbrntt
- 5,134
- 6
- 31
- 60
8
votes
1 answer
CMake: add dependency to add_custom_command dynamically
I have a CMake project with many subprojects.
Each of them can use a function I provide to generate a small text file with some certain information (by calling add_custom_command).
At the final step I'd like to combine all those files into one big…

Michał Walenciak
- 4,257
- 4
- 33
- 61
7
votes
2 answers
Why does FetchContent prefer subdirectory-subsumption vs installation of dependencies?
Consider two software projects, proj_a and proj_b, with the latter depending on the former; and with both using CMake.
When reading about modern CMake, one gets the message that the "appropriate" way to express dependencies is via target…

einpoklum
- 118,144
- 57
- 340
- 684
7
votes
2 answers
Automatically added ConstraintLayout dependency in gradle
Just I update my studio (version 2.3) and build version ('25.0.0'),
now, when i try to create new activity then automatically constraintlayout dependency added in my build.gradle file.
and layout render as parent ConstraintLayout, can anyone know…

Yogesh Rathi
- 6,331
- 4
- 51
- 81
7
votes
2 answers
How to acquire expat.h for the compilation of git?
I need install git (v 2.0) on slackware 14. I experience an error during
$ make install prefix=/usr/local
run in the source root:
LINK git-http-fetch
CC http-push.o
http-push.c:17:19: fatal error: expat.h: No such file or directory
#include…

henfj
- 71
- 1
- 2
7
votes
2 answers
How can I let CMake check whether my headers are self-sufficient?
Setup
I have a project that builds and runs fine with CMake. My project setup is like this:
├── CMakeLists.txt
|
├── include/
│ └── standalone/
│ └── x.hpp
|
├── src/
└── standalone/
└── main.cpp
The contents of my headers is…

TemplateRex
- 69,038
- 19
- 164
- 304
6
votes
1 answer
Using --whole-archive in CMake on a library you build
I have a CMake project while builds a static library and links it with other code into an executable. For reasons I won't go into, I want this linking to happen with the --whole-archive linker flag.
Now, this flag is tricky, since you can't just add…

einpoklum
- 118,144
- 57
- 340
- 684
6
votes
1 answer
How to test a Makefile for missing dependencies?
Is there a way to test for missing dependencies that shows up when compiling a project with multiple jobs (-jN where N > 1)?
I often encounter packages, mostly open source, where the build process works fine as long as I use -j1, or -jN where N is a…

Yannick Koehler
- 123
- 4
5
votes
1 answer
python: alter setup.py to search local file system directory for required dependencies
My project depends on lots of packages. Some are listed on pypi, some are not.
I now have a folder named "external-packages" where I keep .tar.gz files of the packages that I need that are not on pypi.
I want to alter setup.py so that when it reads…

W. Matthew Wilson
- 166
- 2
- 7
4
votes
1 answer
require.js: require.config paths optimization
I am willing to optimize my javascript application using require.js optimizer but I am now wondering if it is also possible to include the require.config paths as well as the javascript modules in one single file.
In fact, after running r.js, I…

Jimmy Luis
- 185
- 3
- 12
4
votes
2 answers
Does running an npm package with npx cause devDependencies to get installed?
I'm finding it difficult to get a clear answer to this on the web. When you run a command in a package with npx (eg, npx mypackage sayhello), are the devDependencies within that package installed? I'm guessing yes, but not certain.

Steve Bennett
- 114,604
- 39
- 168
- 219
4
votes
1 answer
how to exclude gradle dependencies
I currently have a project that I have performed an aqua scan on, and it identified the jackson-databind-2.9.8.jar I'm currently using as a critical vulnerability, and has recommended me to replace with version 2.10. To update this, while ensuring…

kaido
- 321
- 1
- 5
- 15