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
6
votes
4 answers

Spring Boot Multi-Module maven project repackage failed

I'm currently following John Thompson's Spring Framework Beginner to Guru course. I follow his step by step procedures on creating multi module maven project for spring pet clinic on spring boot. When I clicked package on my root module it says…
6
votes
0 answers

Gradle Multimodule Project unable to resolve class of depending sub module

The application works fine in Eclipse. But I am not able to build the application via gradle (gradle clean build) The structure is like: financial-calculator (parent) library api api wants to use classes of library My parent's settings.gradle…
Michael Hegner
  • 5,555
  • 9
  • 38
  • 64
6
votes
1 answer

Maven release setup with svn tags per module

Goal Multimodule maven release with tags per module Situation Assume the following project structure for a Maven-based Java project: xx-parent xx-moduleA xx-moduleB xx-moduleC/submodule1 xx-moduleC/submodule2 xx-moduleC/submodule3 The project…
mhaller
  • 14,122
  • 1
  • 42
  • 61
6
votes
2 answers

files from different maven-modules with the same name can not co-exist in a jar-file created with the maven assembly-plugin

If there are two files with different content but with the same name in two different maven-modules, wich are both put together in one jar-file with the maven assembly-plugin, only one file ends up being part of the .jar file. Question: Is there a…
leif_good
  • 376
  • 6
  • 19
6
votes
1 answer

Can a multi-module m2eclipse/WTP project get utility modules deployed into WEB-INF/classes?

We currently use MyEclipse with its built-in Maven4MyEclipse integration and its built-in J2EE server support, but want to convert over to regular eclipse (Helios specifically) to be able to use its 64-bit install on windows. (MyEclipse does not…
Scott
  • 888
  • 7
  • 21
6
votes
1 answer

How to execute multiple tasks on a specific submodule with gradle?

I have a multi-module project. Unfortunately I had to place build.gradle and settings.gradle in other directory(gradlep/), rather than root directory, so that I have to use -p option. I found that I can execute multiple tasks on a specific submodule…
Jin Kwon
  • 20,295
  • 14
  • 115
  • 184
6
votes
1 answer

How to deal with large multi-module applications on GWT

We are reaching out for suggestions for a new architectural approach for our software. Currently we are working on the development of a new front-end for our ERP, and our framework of choice on the time we started was GWT+GWTP for the front-end.…
vkrausser
  • 393
  • 1
  • 3
  • 17
6
votes
1 answer

Jenkins/Maven build dying with "Could not find the selected project in the reactor" error

I’m using Jenkins on the Cloudbees build service and nave a multi-module Maven project. Recently, we removed a project from our parent pom, however, when we run the build in Jenkins with the following options … clean install -e -P qa -P cloudbees…
Dave A
  • 2,780
  • 9
  • 41
  • 60
6
votes
3 answers

How to work efficiently with large Maven-project workspace in Eclipse?

I'm working on a large multi-module Maven-based system, with some 20 sub-modules and an additional small number of project-external dependencies that are also Maven projects in my Eclipse workspace. All in all, there are some 30 projects in the…
Per
  • 636
  • 5
  • 8
6
votes
1 answer

Build multi-platform executable for a SWT application using maven

My question is: How can I generate multiple executable Jar files (incl. dependencies) for a SWT application according to the target os/architecture at once using maven? I have created a SWT application, which have to run on different operating…
Marcel
  • 61
  • 1
  • 3
6
votes
2 answers

Maven multi-module project and Jenkins

I have the following projects organized in a flat structured way: parentProject +-pom.xml projectWeb +-pom.xml libraryA +-pom.xml libraryB +-pom.xml The pom.xml inside the parentProject has references to the…
Diego Sergnese
  • 340
  • 4
  • 12
6
votes
1 answer

Maven site on multi module project could not resolve dependency

I want to split my continous integration job (Hudson) into two steps. (Because the runtime with build and reporting together takes too long.) In the first job, I build my multi module maven project with "mvn package" successfully. Then I copy my…
5
votes
2 answers

How to use master pom file to checkout all modules of a web application and build all modules

I have a web application that relies on several modules. So to build it, I have a master pom.xml file. What I want this pom file to do is to checkout out all the modules. below is my pom file.
5
votes
1 answer

Maven: SCM and multimodules projects

I have a big multimodules project and I want to specify SCM infos to Maven. But, each one of the modules and the parent project have a dedicated folder on SVN, so it seems that SCM infos are specific to each module. Which value I need to use for the…
manash
  • 6,985
  • 12
  • 65
  • 125
5
votes
1 answer

Need help to create Docker container in Go workspace (multi-modular) mode

I need help, I'm working in the go workspace and there are multiple projects in the workspaces using the common functionality. So, What I did is to make a separate module that contains all the common functionalities that are used by the other…