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

Deferred binding in multi-module project and issues while accessing eventBus

I am creating a multi-module project with a single entry point class but has some issues, I have 2 modules as :- This is my main module, @ChildModule(moduleClass = MyChildModule.class) public class MyMainModule implements EntryPoint { @Override …
Pratik Rawlekar
  • 327
  • 4
  • 14
0
votes
0 answers

How to create multi module project with separate event bus in GWT, Maven.?

I'm working on a GWT project but stuck with a situation where I have to create 2 different modules with separate eventBus in the same project. One module should be child of another i.e. there should be some way to invoke or load child module from a…
Pratik Rawlekar
  • 327
  • 4
  • 14
0
votes
1 answer

Injecting Spring managed beans in EJBs and injecting EJBs in Spring Controllers

I am getting NullpointerException when calling EJB Issue relates more to ways of configuring EJBs so that they can be injected in spring Controllers and Injecting Service classes into EJBs.
lee
  • 11
  • 4
0
votes
1 answer

How to configure multi modules gradle build such that a module is built last

I have a multi modules gradle build as follow root \ moduleA \ moduleB \ moduleC \ where moduleB depends on moduleA. I want moduleB to be built last regardless whether moduleB depends on moduleCor not. Is there a way to do that?
Wins
  • 3,420
  • 4
  • 36
  • 70
0
votes
1 answer

Phalcon Multi module common model magic getter not working

I'm using Phalcon PHP with multi modules structure and I want to use a magic getter on my object but the getter is null when I'm trying to do a var_dump. Snippet Model Users namespace Apps\Common\Models; use Phalcon\Mvc\Model; class Users extends…
John
  • 4,711
  • 9
  • 51
  • 101
0
votes
2 answers

Phalcon multi module routes for other modules

I'm using Phalcon php. I have to try to use the multi modules architecture. I have a frontend and backend. The frontend app is the default module. But I don't understand something about the other modules. If I have 50 controllers in the backend with…
John
  • 4,711
  • 9
  • 51
  • 101
0
votes
1 answer

IntelliJ - Replace dependency to a module with dependency to the Maven artefact

When you delete a module from a Maven project in IntelliJ, all references to that module turn into compilation errors. Is there a way to exchange references to the module with references to the artefact in the Maven repo, so that everything still…
Programmer Trond
  • 303
  • 2
  • 15
0
votes
2 answers

Gradle couldn't find method on root project, but I'm using subprojects

I have this simple build.gradle subprojects { test {} } project(':module1') { apply plugin: 'java' } and Gradle complains that it could not find method test() on root project. But why does it try to find it on the root project? I read here…
Yaroslav
  • 4,543
  • 5
  • 26
  • 36
0
votes
1 answer

Run Spring Boot application from child module

Assuming my multi module gradle project structure looks like this: MainModule | + application | + ... (other modules) The application module contains a class annotated with @SpringBootApplication and when I'm in this directory…
thomasso
  • 280
  • 1
  • 5
  • 12
0
votes
2 answers

sonar multi-module scan with java libraries

I'm running sonar scan with following versions: ant v3.0.5 sonar v4.5.4 sonar-ant-task v2.3 My ant project contains 100+ submodules; about half of them have external libs, and half don't In my ant build file, following sonar properties are…
Scott Chang
  • 301
  • 4
  • 11
0
votes
1 answer

How to configure maven multi module project and FindBugs?

I have a multi module maven project ('assembler'), and I would like to add a FindBugs phase. The problem is that some of the projects are not able to build stand alone since have dependencies on other projects... however when I invoke mvn package…
Marat Strelets
  • 525
  • 1
  • 5
  • 10
0
votes
1 answer

ivy publish multi modules - how to continue on publishing others if one fails

I have an ant project with over 100 modules. I cycle through all modules compile, package, and publish in one build run. However, when one ivy:publish fails (due to random connection issue), the entire build exits. I would like the build process to…
Scott Chang
  • 301
  • 4
  • 11
0
votes
1 answer

Unable to create a fat jar for multi module project using sbt-assembly

I have added a assembly.sbt file to my project folder. I have not kept any sbt files in any of the modules. I do not get any error that could lead to a solution. Also, it is a Spark code written in Java. Running sbt assembly give me the following…
morfious902002
  • 916
  • 1
  • 11
  • 29
0
votes
0 answers

Maven Warnings with building a multi-module aggregate assembly project

Running mvn package from the target directory of my parent project, it looks like my application is building correctly but I do not know what these warnings are telling me. [INFO]…
Patricia
  • 5,019
  • 14
  • 72
  • 152
0
votes
3 answers

Check dependency version in a multi-module Maven project

I have this dependencyManagement in my parent POM of my multi-module project: ${project.groupId} A