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
0
votes
1 answer

Maven / Android: Call custom targets on child modules from parent project

I have a Maven aggregate (parent) project with three child modules. One of these modules is an Android project that can be deployed to a device emulator. I'd like to be able to run 'mvn clean install android:deploy android:run' from my top-level…
Kevin
  • 407
  • 4
  • 7
-1
votes
0 answers

How To Have All Test Files On Classpath in a Multi Module Maven Project

I have a multi module maven project. I want to use ArchUnit to assert certain things about test classes structure. For example, that all my TestUtil classes reside in a specific package. But when running tests for a module, I don't have access to…
ParSal
  • 114
  • 3
  • 9
-1
votes
1 answer

How should I structure my maven projects of a grouped collection of modules?

The general architecture We have an internal java application (let's call it com.example.framework) acting as a kind of framework in the sense of being extensible through plugins. These plugins can serve various purposes. As an example, there will…
rheinert.leon
  • 69
  • 1
  • 6
-1
votes
1 answer

Unable to create docker container with docker command

i am building multi module springboot application and i want to setup docker environmenta, but unable to build container, can someone please help me to solve this issue. My Docker file is mentioned below. FROM openjdk:8-jdk RUN apt-get update &&…
ZaihamM Code
  • 87
  • 4
  • 12
-1
votes
1 answer

How to execute a TestNG test case outside a project, using Maven Multi module

I am working on a multi module maven project. My Project Structure is as below - Parent-Module (Packaging - pom) BaseFramework (Packaging - jar) TestProject (Packaging - jar) (Added BaseFramework as a dependency in pom.xml of the…
suro230791
  • 51
  • 4
-1
votes
1 answer

When i build my app the imports become unresolved reference if they belong to another module

i'm migrating an app from a single module app to a multimodule app. Im following this structure: [Core] -> [App] -> [Feature] I created the core module and the feature called wallet, using the File -> new -> new Module option in Android Studio and…
RandomCoder
  • 141
  • 1
  • 2
  • 8
-1
votes
1 answer

What is the correct way to download code from another module of the multi-module maven project?

What is the correct way to download code of another module of the multi-module maven project? I have the multi-module maven project that consists of 2 modules. I have implemented first module and now I need some classes from my first module in the…
Yarik Soltys
  • 315
  • 1
  • 2
  • 17
-1
votes
1 answer

How to create .EAR file for spring boot multi module Project?

I have created spring boot multi module web project with one parent project and two child projects. It is having following structure. Parent Project (Packaging type : POM) -First Child Project (web Project and Packaging type : Jar) -Second…
OnkarG
  • 267
  • 1
  • 3
  • 16
-1
votes
2 answers

Multimodule spring hibernate, difficulty with access to dao, need create spring bean xml?

I make multimodule application (vaadin, spring, hibernate) I have big problem with access to DAO (or model, generally with persistence in persistence module) I need create spring xml bean definition in core or create spring bean in web (in…
-1
votes
1 answer

How to include other jar module's system scope jar

I have created a multiple module project with Maven, module common is a jar module and it has some system scope jars, module api is a web war module and it depends on module common, I execute mvn package,but module api can't include the system scope…
-1
votes
1 answer

Make Integraton Test cover all submodules

I do searched for similar topics. But mine issue is different. The background is that I've got an single spring boot project, and it became bigger and bigger. Then I split it into serveral modules following the guide from spring Spring boot -…
-1
votes
1 answer

How to share resources in multi module maven project

I have a multi-module maven project with one root and multiple child projects. I am planning to use SL4J for logging. However, I have to place the log4j.properties in all child projects to be able to configure log4j. To be able to reuse a single…
Babu James
  • 2,740
  • 4
  • 33
  • 50
-2
votes
1 answer

Hilt Multi-module Cannot create an instance of class ViewModel

I'm trying out a new architecture with multi-module and DI though Hilt, I have the following modules: app: Contains MainActivity (which does nothing except holding fragment) featureHome: Contains HomeFragment and HomeViewModel When I start the app…
Biscuit
  • 4,840
  • 4
  • 26
  • 54
-2
votes
1 answer

How to add go pkg to existing repo?

I have this repo in github that have library for cpp and go in same repo. Now how can I create go.mod in the go to import it ? I searched google about that but all are have Separate repo. How can i do it ? Thanks.
srilakshmikanthanp
  • 2,231
  • 1
  • 8
  • 25
-2
votes
2 answers

Is a Maven multi-module project appropriate for independent programs?

I've just started working on a project that has a lot of similarities in the code base between different programs. For example, four of the programs are parsing HTML pages, and each one has a util package with a Parser class (all of which are the…
1 2 3
59
60