Questions tagged [multi-module]

A multi-module project/application is composed by several modules each focusing on a certain concern, enforcing the SRP (Single Responsibility Principle) at module level.

A multi-module project/application is composed by several modules each focusing on a certain concern, enforcing the SRP (Single Responsibility Principle) at module level.

In , a multi-module project is handled via aggregation of an aggregator project providing list of aggregated modules.

Often, but not necessarily, the aggregator project is also the parent project of aggregated modules, providing further governance and common management on - for example - plugins, dependencies, properties.

More Info

886 questions
4
votes
0 answers

Koin NoBeanDefFoundException

Long story short, I am facing strange app crashes with NoBeanDefFoundException, but it happens randomly. For some devices it works as expected and for others just crashes. I have a multi module project with lots of koin modules and it worked as…
Yamko
  • 535
  • 1
  • 3
  • 13
4
votes
3 answers

Convenient way to update version of multi-module project in Eclipse

I have a Maven multi-module project in Eclipse. Each time I want to update the version, I go to Run As -> Run Configurations..., change the parameter newVersion of the goal versions:set to a higher number and then run the goal. Is there something…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
4
votes
0 answers

How to aggregate test reports in android multi-module gradle project in 2019

I have a multi-module Android gradle project. project |- app |- module1 |- module2 Each of the modules contains unit tests, the app module also contains Instrumented Tests. Instead of taking the xml reports from the modules I would like to…
4
votes
1 answer

Problem with same bean name in sprint boot multi module project

I am using Spring boot Multi-Module for my project. Problem here is that, I have 2 modules - Module A and Module B Module A contains bean- moduleService.java Module B contains bean- moduleService.java Now while compiling I am getting error that Bean…
Akash Kumar
  • 642
  • 7
  • 20
4
votes
1 answer

Feasibility of getting Maven aggregator pom to inject properties into module poms (not using inheritance)

A bit of a feasibility question for you regarding Maven. Particular, on whether we can define properties in an aggregating pom and then inject them into the referenced modules, thus allowing that module to locally overwrite the default properties…
Alastair Brayne
  • 731
  • 1
  • 9
  • 22
4
votes
0 answers

How do I compile multi module Maven project where modules have different Java versions? Possibly using Jenv?

Suppose I have a multi-module Maven project, with two modules: foo; requires Java 1.8 to compile bar; requires Java 11 to compile I'd like to be able to build these by running mvn clean install from the parent directory and have them compile using…
Mark
  • 4,970
  • 5
  • 42
  • 66
4
votes
1 answer

Import module from nested directories in Elm?

If I have a directory structure like this: src ├── Commands.elm ├── Decoders.elm ├── Main.elm ├── Messages.elm ├── Models.elm ├── Page │   ├── Cats │   │   ├── Main.elm │   │   ├── Style.elm │   │   └── ... │   ├── Pieces │   │   ├──…
Rotareti
  • 49,483
  • 23
  • 112
  • 108
4
votes
2 answers

Maven Multi Module insists on duplicating datasource application.properties in business module

I have spring boot maven java multi module structure. My structure is: product (parent pom module) ..product-data (child pom module) ..product-business (has dependency for product-data) ..product-rest (has dependency for product-business)…
suomi-dev
  • 848
  • 1
  • 13
  • 22
4
votes
1 answer

How to create common resources folder for multiple modules?

I want to create project which have multiple modules.my project project will look like this: > main-module >> module1(Project1) >>> module1 pom.xml >> module2(Project2) >>> module2 pom.xml >> resources >> main-module pom.xml I…
fatih yavuz
  • 89
  • 10
4
votes
1 answer

Building multi-module gradle project in Travis CI

I am trying to get a multi-module Gradle project to build in Travis CI and run all tests from all sub projects. By default running build from the top level build.gradle file seems to build all submodules and run all tests but Travis sees it as a…
zjuhasz
  • 1,489
  • 12
  • 30
4
votes
4 answers

How to remove duplicate dependencies from pom?

I have a multi-module project in maven where some of the modules depend on other modules. Now the modules that act as dependencies have some of the dependencies which are already listed in the dependent module's pom. Is there a quick way to identify…
MozenRath
  • 9,652
  • 13
  • 61
  • 104
4
votes
2 answers

How to use JaCoCo Gradle Plugin with TestNG and JUnit?

I am working on a project where we are using TestNG and JUnit for our tests. Unfortunately when writing TestNG tests they are not considered in JaCoCo Coverage Reports. I wrote a testng.gradle file, which I include in each of the build.gradle files…
John Reese
  • 583
  • 2
  • 6
  • 17
4
votes
1 answer

Pull dependencies of modules by referencing parent in maven java project?

I have a maven-java project (say Project A) with a parent defining modules in its pom. I also have an external project (say Project B) that requires dependencies of two of the modules from Project A. For now, i have defined the dependency to pull…
4
votes
2 answers

Deployment of spring boot modules in enterprise application:TransactionManagementConfigurationSelector is not assignable to interface ImportSelector

I have a Maven project "Enterprise application" containing two modules. The first module is a maven standard java application that contains the domain, dao and business layer. The second module is a "java web application" maven. Here is the…
4
votes
1 answer

How to deploy multi-module maven spring boot application on OpenShift

I have a multi-module spring-boot project that I want to deploy on Openshift, where I have installed Jenkins as well. Source code is hosted in Github. Each module consists in a war, in order to have a microservices structure: