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

Setup for sonar multi module and multiple packages

I've read other posts and the sonar examples but I just don't get it, I think I'm just confusing what 'modules' are exactly. So I have a basic Java EE Enterprise Application with this structure, I have the main Project let's name it Test and inside…
ZakRoM
  • 9
  • 2
0
votes
1 answer

Issue with spring security web authentication and our maven multi module dependency hierarchy

We have a complex maven dependency hierarchy whereby our individual web modules are held by a parent web module. The parent web module depend upon a service module which itself depend upon a dao module. I want my users to authenticate from the web.…
balteo
  • 23,602
  • 63
  • 219
  • 412
0
votes
1 answer

Maven Project Import wizard is not showing sub project poms

I checked out a project from SVN into my local folder. It has root pom and all project multi level subfolders have pom files. When I tried to import and specify root directory, the import wizard shows only root pom. Not showing all poms from the sub…
Kevin Rave
  • 13,876
  • 35
  • 109
  • 173
0
votes
0 answers

How to check failed module during deployment - Maven multi module

I am deploying application to Jboss AS 7.1.1.Final using Maven multi module configuration. The 'jboss-as-maven-plugin' plugin with version 7.4.Final is used to deploy to AS using remote deployment. I have a parent POM with multiple modules as shown…
Manish Devraj
  • 701
  • 3
  • 11
  • 27
0
votes
1 answer

Custom phases for a multi-module maven project

I am currently working on a multi-module project with the following structure. root -module A -module B What I want to do is to execute module B (The main method of the module) after the compiling of module B (Module B depends on module A).…
Ishan Thilina Somasiri
  • 1,179
  • 1
  • 12
  • 24
0
votes
3 answers

Maven 3 modules

I am about to start a project. We'll be using Spring MVC, RestEasy, Spring Batch and Spring Security. Does it make sense to have a module for each of these, e.g.: Main_Project ---pom.xml ---Module_Project ---pom.xml ---Module_MVC …
adi
  • 1,711
  • 3
  • 29
  • 50
0
votes
1 answer

Testing maven assembly result

I have a maven multi module project where two modules of mine should be assembled through the maven plugin for deployment on top of a container. Let's say my hierarchy is the following module1 module2 testmodule I have a test case inside the test…
Edmondo
  • 19,559
  • 13
  • 62
  • 115
0
votes
1 answer

Maven-2: Module depends upon another within same project (Two questions)

Here is a my file system setup: .m2/ <--- Local Directory app/ pom.xml module1/ module2/ module3/ target/ <--- Package directory Question A In the parent pom.xml, it has a dependency that all the modules…
Rob Avery IV
  • 3,562
  • 10
  • 48
  • 72
0
votes
2 answers

module configuration in zend framework

I'm working with multi-modules CMS in Zend Framework. I want to create a structure like this: testsite/ index.php library/ zend/ test/ application/ configs/ application.ini modules/ users/ controllers/ …
0
votes
1 answer

how to checkout maven mutlitmodule projects from eclipse juno

I've been trying to get a straight answer to this if possible. I'm currently using Eclipse Juno / Subclipse / Sonaytype m2eclipse. What can (if at all) I do to checkout a multi-module project from SVN such that the project appears as a single…
user1111871
  • 137
  • 1
  • 12
0
votes
2 answers

Create multi-module project in maven

I'd like to create multimodule standalone application with maven. In my case I'd like to make 'Loader' project (.jar) contains all other projects. But now I have just set of .jar files (loader.jar, crawler1.jar ... etc) loader's .pom:
davs
  • 9,226
  • 8
  • 41
  • 54
0
votes
1 answer

multi-module spring roo project setup

I am really new to Spring Roo (perhaps been using it for 2.5 months) and on the whole it has been a very good experience, and I have rapidly created a system for managing a property portfolio. HOWEVER, this system was developed in three seperate roo…
Stephen Leake
  • 37
  • 2
  • 11
0
votes
1 answer

How to compile and run multi-module jersey web service?

I'm new to maven and I'm trying to create a new multi-module jersey web service following this tutorial. So now my project is composed of 3 maven modules: * Model module * Core module * web service module now, since I'm new to maven projects I…
ColdFire
  • 6,764
  • 6
  • 35
  • 51
0
votes
1 answer

How are dependencies shared in a maven multi-module project?

I am a bit curious about how this works - if I have 5 module projects in a Maven multi-module project, can you import the content and packages into other modules without adding that project as a dependency? Or do you in-fact need the .jar (or a…
Sam Levin
  • 3,326
  • 7
  • 30
  • 44
0
votes
1 answer

Hybrid Multi Module Maven Project with Spring Roo - Multiple JPA Persistence Units

I'm trying to create a hybrid multi-module maven project, where some projects are managed by Spring Roo and others are independent. This is my project structure so far: Root Project (root POM) | | -- commons   (maven module, Spring Roo Managed, JPA…
João Simas
  • 231
  • 1
  • 4
  • 11