909 questions
0
votes
1
answer
73
views
Run maven plugin for root directory in multi-module java project
I have a maven based multi-module Java project. The root directory consists of various sub-modules as well as other directories which holds scripts, configurations and documentations files.
There are ...
0
votes
1
answer
41
views
Spring Boot auto-configuration module disables app's own @Repository detection
I have a multi-module Maven project using Spring Boot 3.4.4 with the following structure:
my-project/
├── pom.xml
├── lib-model/
│ ├── pom.xml
│ ├── src/main/java/com/example/libmodel/
│ │ ├── ...
0
votes
0
answers
35
views
Package does not exist in the module-info declaration in Java
My current Java project is designed using a multi-module structure, consisting of a backend and a frontend module. Each of these modules has its own pom.xml and module-info.java. The POM files are ...
0
votes
1
answer
39
views
Centralize maven project version to ease branching strategy
I have a maven based multi-module project. Also we manage multiple parallel releases for different clients for which we obviously need long lived branches. To all these branches, we give assign unique ...
1
vote
3
answers
187
views
CLion how to make multi module project?
I have to make a C multi module project in CLion. The project is called a2-dragos12312-a1, and in it I have a "c files" directory containing main.c and ui.c, and a "headers" ...
0
votes
0
answers
53
views
How to Reuse Use Cases Across Different Modules in a Modular Android App?
I have a modular Android application following Clean Architecture, where each module is responsible for a specific feature.
I have a Recipe Module that...
... fetches recipe data from the server ...
1
vote
0
answers
45
views
Android Multi module Build Error: Could not determine the dependencies of task ':app:checkDebugLibraries'. Could not resolve project :payment
I am getting this error for my multimodule android app when I run gradle clean build
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:...
1
vote
1
answer
831
views
How to setup Kover for multi module project with Android & Kotlin modules
I have multi module project with both Android & Kotlin modules.
To simplify I have the following modules:
:data is an Android module. This just has the variants debug and release.
:domain is a ...
0
votes
0
answers
79
views
Google Maps API - HTTP 403 When Restricting API Key (Works When Unrestricted)
I am integrating the Google Maps Routes API into my Android application, but I keep getting an HTTP 403 Forbidden error when restricting the API key to my package name and SHA-1 fingerprint in Google ...
0
votes
0
answers
19
views
IDEA Terminals start in last added module - how to change?
My IntelliJ IDEA project includes a selection of modules form the same monorepo.
After I import a new module, new terminals open in the root of the most recently added module, even after restarts. ...
1
vote
1
answer
30
views
When depending on a parent, include all sub-modules automatically
I've this project:
The sub-modules in driven-adapters can grow or decrease. What I'd like to do is when including the dependency on the parent (driven-adapters) it will bring on the dependencies/sub-...
2
votes
2
answers
388
views
Navigation in multi-module Compose project
I have a multi-module compose project where I am still trying to define how the navigation should be done. As far as I know, the following key concepts need to be taken into account (correct me if I ...
0
votes
0
answers
36
views
How to define project version only once in a multi module maven project [duplicate]
I have a multi module maven project with this structure:
maven-project/
│-- pom.xml (Main parent POM)
│-- module-a/
│ ├── pom.xml
│-- module-b/
│ ├── pom.xml
│-- module-c/
│ ├── pom.xml
│-- ...
0
votes
0
answers
45
views
Android Compose navigation in Multi-Module project
I have my android multi-module app made in kotlin. Within the feature module, there is a submodule myitems, in which there are the following submodules: data, domain, navigation and presentation. I ...
1
vote
1
answer
194
views
Package does not exist [Maven Multi-module Spring Boot]
I downloaded a Spring Boot project on Spring Initializer, got version 3.4.2, and installed Maven. I planned to build a POC to add some shared classes to the Shared module and reuse them in other ...
0
votes
2
answers
186
views
Reading files from Resources folder of a Nested jars of a spring boot Jar
I have a use case where I need to refer to configuration files from various nested JARs within a Spring Boot fat JAR
public void searchConfFiles() throws Exception {
...
1
vote
1
answer
502
views
How to Run Preview for compose functions without building the entire APK in :app module
I have a multi module project, and any previews in the :compose module run fast, but when I try the exact same thing in the :app module then it will always build the entire APK even if the compose is ...
0
votes
0
answers
49
views
Maven multi module does not resolve locally build modules
I have a multi module project with maven / quarkus / kotlin.
Maven version: 3.9.5
The problem:
When running tests, an integration test (located in the "application" module) fails with "...
1
vote
0
answers
42
views
Ignoring specific library for a module in Gradle
I have migrated our multi-module Gradle project from Mockito v1 to Mockito v3. As part of the migration, the following libraries were upgraded or added:
mockito-core from 1.10.19 to 3.12.4 (and added ...
0
votes
0
answers
8
views
Spring Multimodule Project DeploymentTest Errors
The project structure looks like this
sample
ㄴ file-sync-data(jpa project)
ㄴ ㄴ com.text.filesync.data
ㄴ ㄴ pom.xml
ㄴ file-sync-start-stream(scdf stream project)
ㄴ ㄴ com.test.filesync....
0
votes
1
answer
138
views
Code Coverage For Android Integration Tests In Multi-Module App
I am looking for some help generating a code coverage report for Android integration tests in a multi-module project. Specifically I have an app module along with a mix of android and java library ...
0
votes
0
answers
70
views
Convert Imported Maven Sub Module to a Maven Project in Eclipse
I have a multi-module maven project which I imported to Eclipse. I did struggle initially to import it with all its sub-modules but per what I remember, the sub-modules were not converted to Maven ...
0
votes
1
answer
815
views
Main class name has not been configured and it could not be resolved from classpath
I'm encountering an issue while implementing a Spring multi-module project and need some help. The goal is to structure the modules using Spring and build each module into a container using Docker.
...
1
vote
1
answer
310
views
Android: Multi module library doesn't work with implementation project without publishing all modules
I'm trying to publish a multi-module library but I only want to publish only want one module as follows:
-module main
-module data
-module domain
Sample app should implement only main module (as this ...
1
vote
1
answer
46
views
Android multi-module: How to get the title of a 'game' in the database?
I am building a multimodule gameapp with Compose and Koin dependency injection. Every module manages its own screens and navigation.
The structure is this:
app:
core:
|- common
feature:
|-games:
| |-...
0
votes
0
answers
45
views
Xcode|CocoaPods: New files not appearing in SourceTree when created in submodules of iOS project
I am trying to create an iOS project with a multi-module architecture using CocoaPods local path. I use SourceTree to manage git.
Currently, I am facing an issue where new files created in the modules ...
0
votes
0
answers
33
views
When using Apple M CPU I encounter this error "Cannot fit requested classes in a single dex file"
This is not a question about what multidex is!
I am using a Macbook with M3 CPU. I have a modular project which has multidex enabled in its main module ("app" module). My problem is that ...
2
votes
1
answer
259
views
Why cant a Kotlin library Module depend on an Android Library Module?
I am trying to have this dependency graph:
presentation (Android Module) -> domain (Kotlin Module) -> data (Android module)
And whenever I make domain to depend on data implementation(projects....
0
votes
2
answers
254
views
Multi module build error :domain:main: Could not resolve project :data
I have a simple multi module structure
app module
presentation module (Android library Module)
domain module (Kotlin library Module)
data module (Android library Module)
The dependency graph I ...
0
votes
1
answer
22
views
Where to place datafiles in a multimodule project
I have a multimodule project with the following structure:
app:
core:
|- common
feature:
|-games:
| |-general:
| |-meaninggame:
|
|-settings
etc.
The game needs a list of proverbs whcihb ultimately ...
0
votes
1
answer
268
views
Issues with Maven Multi-Module Project: Dependency Not Found
I am working on a Maven multi-module project and I'm having issues using a common package in two of my modules. Here is the project structure:
Goal:
I want to use the common package in both image-gen ...
2
votes
2
answers
505
views
Clean Architecture Dependency Graph (Multi module)
When it comes to the Clean Architecture Dependency graph I see two version:
The recommended one by Google: presentation -> domain -> data
The other: presentation -> domain <- data
What ...
0
votes
0
answers
66
views
gradle defines the root project incorrectly
error
A problem occurred evaluating root project 'weather-measure'.
> Project with path ':weather-entity' could not be found in root project 'weather-measure'.
gradle defines the root project ...
0
votes
0
answers
33
views
Avoid some modules in mvn package
I have monorepo with some apps and pom.xml. I want to be able to build just specified modules in Dockerfile.
Project structure is:
pom.xml
- app-core (this is runnable app)
- pom.xml
- app-common (...
1
vote
0
answers
57
views
Openshift: Could not find artifact when building java application using s2i with maven multimodule from GIT Submodules
Currently having difficultly building a Maven multimodule project using GIT submodules.
Using a GIT local repo as the source for OKD/Openshift S2i build for a Java (JDK21) application on OKD 4.15. The ...
0
votes
1
answer
217
views
Is it possible to use Room Database in a Kotlin Library module?
I am working on an Android application with a lot of modules (based on features & layers) and wanted to convert my domain layers and data layers modules from Android modules to Kotlin/Java modules....
3
votes
0
answers
335
views
Add lombok plugin to multimodule gradle build
I have 3 projects, build with Gradle (8.6), that I wanted to share dependencies and plugins. To do so, I've created a multi module build with buildSrc. I try to follow documentations and schema ...
2
votes
0
answers
100
views
Best Practice for Using Fake Objects in Multi-Module Projects for Testing
I recently came across a blog post (https://testing.googleblog.com/) discussing the use of fake objects over mocking for testing purposes. The post detailed creating fake objects for necessary ...
0
votes
1
answer
2k
views
Quarkus multi-module Maven project with integration tests, problems with including quarkus-maven-plugin multiple times, for each module?
At work I'm splitting up an existing Quarkus application into several modules:
three "application modules" A, B and C containing controllers/API endpoints
a single shared module for shared ...
-1
votes
2
answers
93
views
String boot multi module application running
For a long time, I am struggling to find a solution. I am trying to build a spring boot multi-module project.
I have two modules for practice purposes, later I will add more modules in my real project....
1
vote
0
answers
35
views
Muti-module Springboot project active profile not success
I have a multi-modules springboot project with structure like this:
|--multiDemo
|--admin (with profiles application.yml and application-dev.yml)
|--infrastructure (with profile application-basic.yml)
...
4
votes
0
answers
236
views
gradle not recognizing local modules after adding product flavors to my android app
I have a multi-module app with 2 product flavors. I'm trying to specify the local modules that should be included in one flavor, but not another. Here's my :app module's build.gradle file:
plugins {
...
0
votes
0
answers
47
views
How to test a repository with an embedded ddbb in a multimodule project?
I have a multimodule project with the following structure:
project
api module (containing the rest controllers, the main class and the properties configuration)
core module (containing the ...
1
vote
0
answers
146
views
How to connect a multi-module application to a database?
Building an multi module application using Spring Boot, Implementing a hexagonal architecture where I have a domain module, application module and infrastructure module. Each module has a :domain ...
1
vote
0
answers
212
views
Maven Multi-Module - Jacoco report aggregation
I have a multi-module maven projects. A module services with a big and growing number of child modules child-a, ... , child-n. These children also have a dependency on a common modules. I want to find ...
0
votes
1
answer
171
views
Gradle Multi-Module Build with custom source sets: Missing Classes in Compile Classpath of dependent modules
I'm currently contributing to the OpenLineage Spark integration, a project entirely in Java and built with Gradle (8.4). It's a multi-module project with modules named app, shared, spark2, spark3, ...
0
votes
0
answers
130
views
Spring + Kotlin + Gradle + Multi module - configuration
I have a project written in Kotlin with Spring and Gradle. https://github.com/skoczman/oremus/tree/main
I have two problems:
Gradle configuration - Gradle is building successful now, but I'm not sure,...
1
vote
1
answer
588
views
How to make quarkus multi-module project
I have a project:
\--- Project ':backend'
+--- Project ':backend:api'
\--- Project ':backend:shared'
In root module I have configured common dependencies and quarkus plugin
Module API ...
0
votes
0
answers
210
views
SpotBugsRunAnalysis in Maven@3 requires report of agrregator sub-module which contains no source
I do use Jacoco configured for a multi-module project. That means, that I have create an additional module 'code-coverage-report' to aggregate the reports of all other sub-modules.
This new module (...
5
votes
3
answers
5k
views
Create another module in Compose Multiplatform Project
I'm currently building a project with Compose Multiplatform, and I'm wondering to make this project structured with multi-module clean architecture.
Here's my current modules:
I'm looking for adding :...