Questions tagged [multi-project]
319 questions
2
votes
1 answer
Ivy resolve multi module apache maven POM.xml
If i have multi module project written in maven pom.xml in this architechture
pom.xml -main
---module1/pom.xml
---module2/pom.xml
and main pom.xml looks like this
4.0.0
My group id
…

Michael
- 41
- 3
2
votes
1 answer
Acccess Google Cloud DNS Cross project
I am trying to get cert-manager in Project B to set up a certificate automatically but for the DNS01 challenge to work for the clusterIssuer i need it to access Project A's Cloud DNS.
I have two separate projects in Google Cloud on my first, say…

Pontus Nyberg
- 78
- 8
2
votes
1 answer
Find master project root directory in sbt multi-project
Is it possible to reference the master project from a subproject, in a multi-project sbt file?
I am writing a custom task, and I need to find two directories:
from the master project: the baseDirectory
from the subproject: the target
Of course,…

radumanolescu
- 4,059
- 2
- 31
- 44
2
votes
0 answers
How do I generate Maven POMs for multi-module builds with Gradle?
In order to not manually manage, both, Maven and Gradle build configuration files, I wanted to let Gradle generate the Maven POMs for a multi-module build.
This is working so far. Below you find the settings.gradle
rootProject.name =…

mike
- 4,929
- 4
- 40
- 80
2
votes
2 answers
How to avoid duplication of children repositories in a parent project
I have a multi-project build with the following structure:
Root project 'just-another-root-project'
+--- Project ':producer'
\--- Project ':consumer'
The root settings.gradle file:
rootProject.name = 'just-another-root-project'
include 'consumer',…

Yurii Rabeshko
- 591
- 8
- 17
2
votes
1 answer
Gradle root project depends on subprojects build
How can I mention subproject should build before root project.
in settings.gradle
rootProject.name = 'loginmodule'
include 'servicebundle'
include 'webbundle'
include 'webredirectbundle'
When I try this build dependson subprojects:build it is…

Dyapa Srikanth
- 1,231
- 2
- 22
- 60
2
votes
1 answer
Config key not found : Where does typesafe ConfigFactory.load look for config files in a scala multi-project?
When I run sbt test on the complete multi-project, I keep getting config key not found when it is clearly there in the resource folder corresponding to the test. Everything works fine when I run the tests with intellij.
I followed this to setup the…

N A
- 831
- 2
- 8
- 28
2
votes
1 answer
Gradle multi-project build: how to specify different build files?
Gradle multi-project build: how to set different build files? e.g.
/foo/bar/build-hello.gradle
/foo/bar/build-world.gradle
settings.gradle
include 'hello'
project(':hello').projectDir = new File('/foo/bar')
project(':hello').buildFile = new…

eastwater
- 4,624
- 9
- 49
- 118
2
votes
0 answers
Gradle Multi Project with Java 9 and Java 8
I would like to migrate a gradle multi project to java 9. Instead of trying a big bang I would like to go step by step. My idea is to start from top (main module) and then work my way down. This implies, that I will have a main module in Java 9…

magicroomy
- 395
- 1
- 6
- 19
2
votes
1 answer
why "jar.enabled = false" affects dependencies in Gradle?
The story:
I have recently discovered that setting jar.enabled = false in project b-features of a multi-projects Gradle project will stop project a-features of the same project from being able to refer to B via
dependencies {
compile…

Nikita Koselev
- 185
- 2
- 10
2
votes
1 answer
JavaFXPorts project as a library for other JavaFXPorts projects
I currently struggle with probably very simple problem: How can I use one JavaFXPorts specific project as a dependency within another project of the same kind?
With pure separated projects, I have no idea how to combine them (have to admit, I'm not…

dzim
- 1,131
- 2
- 12
- 28
2
votes
1 answer
Multiple project Gradle builds with non-standard folder hierarchy
Typically, a multi project Gradle build would be setup something like this:
root
subproject1
subproject2
And in root's settings.gradle file, I'd have something like:
rootProject.name = 'root'
include 'subproject1'
include 'subproject2'
This…

Adam
- 8,752
- 12
- 54
- 96
2
votes
0 answers
vsix multi template project creates an extra folder
I am trying to create a multi project template (.vsix) file. One of the projects has a reference to two nuget packages. Everything works fine except for the part where the project itself gets created. It creates an additional folder under the…

tmp dev
- 8,043
- 16
- 53
- 108
2
votes
1 answer
Closure defined in root not visible in child
I have root project and subproject (:child).
Root build looks like like this:
def foo = {
println("foo")
}
allprojects {
task bar << {
println(project.name + ":bar")
}
afterEvaluate {
foo()
}
}
Running gradle bar…

Dima
- 39,570
- 6
- 44
- 70
2
votes
2 answers
How to apply fomatter and template settings to multiple projects in Eclipse?
I have various interrelated projects in my Eclipse Helios workspace. Some projects use the Java standard coding style with no license header. Some others use similar coding style with 3-space indentation with LGPL 2.1 license header. Some others…

trustin
- 12,231
- 6
- 42
- 52