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

Dependency module fails to load resource when used in the IT module

I'm working on a multi-module project which contains a service and an integration-tests module. In the service module there is a service for some reset password functionality, based on Spring greenhouse which is using a template file which is…
Chris
  • 549
  • 1
  • 5
  • 18
0
votes
1 answer

Running multi-module project successfully with error in an module

Starting position: SonarQube 4.5.2 SonarRunner 2.4 Multi-module project 4 modules Goal: To run the sonar analysis for the modules, even if the sonar analysis of a module fails. And show the metrics of the multi-module project. The problem is,…
Stelos10
  • 451
  • 2
  • 6
  • 15
0
votes
1 answer

Continuous validation of maven dependencies on multi-module project

I have a multi-module web-application maven project. Iterating over list of dependencies of each module (depndencies:list) - it's easy to see dependencies conflicts - but is there a plugin that produces conflicts report so I can run it in my CI…
orshachar
  • 4,837
  • 14
  • 45
  • 68
0
votes
1 answer

Share classes within modules in maven project

firstly I'm new to maven , so sorry for the question if it's too simple :) I have main module "main" and child modules : a , b , c , ... What I want is to share some data which is in child module a , with child module b. The parent pom looks like : …
Igal
  • 4,603
  • 14
  • 41
  • 66
0
votes
1 answer

Keep testing maven multi-module even if some tests fails

I'm testing my multi-module project and I would like to continue testing even if some tests fails. pom My Project project-core project-api
Neil
  • 322
  • 1
  • 2
  • 13
0
votes
1 answer

Add a dependency to a maven module without sources

I have a multi-module Maven project, and some of the modules use Ant for the build. One such module should depend on another, but the target module doesn't have any Java sources and so it doesn't produce any artifact. Can I add a dependency on such…
Dan Berindei
  • 7,054
  • 3
  • 41
  • 48
0
votes
1 answer

Spring Roo propper multi-module-based layering

Spring roo supports multi-module projects and there is some stuff in examples and documentation but it looks like it's not too flexible. I decided to split the project in module per layer: model, repository, service, web and keep integration tests…
Chris
  • 549
  • 1
  • 5
  • 18
0
votes
1 answer

Bndtools on a multi module maven Project

I am currently working on migrating a multi module maven osgi project to bnd tools. What I'm struggling with is the configuration of the build.bnd so I can build the bundles. If I add a package to the export list i get: Error finding source package…
wayoflife
  • 1
  • 1
0
votes
2 answers

How to import properties and targets from ant build file properly?

I want to make project with two modules. App and server. Server depends on app. When I compile server I want to include class files from app into the build. But it resolves classpath relatively to server and not to app because of import issues. How…
Moses
  • 1,243
  • 3
  • 14
  • 21
0
votes
1 answer

Maven: Two projects with common dependency - recommended project structure?

I have project which consists of two separate sub-projects and some common code, with the sub-projects needing to be built independently. What would be the recommended Maven project structure for this scenario? I've already tried something like…
matthjes
  • 671
  • 7
  • 20
0
votes
1 answer

Cobertura excludes not working in multi-module Maven 3 project

I have a multi-module Maven 3 project. We are using Cobertura as our code coverage tool, but the excludes tag is not working. We have some bad tests from a package we inherited from another team, but need to consume. The structure is as…
user3076199
  • 23
  • 2
  • 4
0
votes
1 answer

Should the EAR pom inherit a parent

This is as much a question about the use of maven section as much as it is about how and EAR module should play out. I have a typical use case. Following are the maven modules parent api ejb web ear ear has api, ejb and…
Devu
  • 381
  • 3
  • 15
0
votes
1 answer

Could not find method android() in root of multimodule project

When trying to add parallel build for set of Android projects For root build.gradle I added from template subprojects { android{ //{ for classic Android Eclipse project sourceSets { main { …
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
0
votes
1 answer

Autowiring a bean from one maven module to another maven module within same multi-module maven project

I have a multi module maven project with follwing child module Tracker |--Tracker-core |--Tracker-dao | |---src/main/resource/spring-dao-config.xml | |--Tracker-services | |---src/main/resource/spring-service-config.xml | |--Tracker-web In…
amFroz
  • 95
  • 1
  • 12
0
votes
2 answers

gradle submodule has unresolvable dependencies

I have a pure java module alongside my android module in a gradle project in android studio. This java module has a dependency on a .jar file. When I run my android application I get this: 04-15 14:42:02.854 …
Coinhunter
  • 83
  • 1
  • 9