Questions tagged [maven-module]
106 questions
0
votes
1 answer
Unable to execute maven module java class
I created a parent Maven project in Eclipse. Created a maven model under the parent project using below command
mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart…

Michael Corleone
- 105
- 17
0
votes
1 answer
How to skip modules in maven release:prepare
I want to use the Maven release plugin to release my Eclipse plugins, but in the release:prepare step, I have to skip updating the version number of some of the plugins. This is because they are a modified version of a plugin other 3rd party plugins…

kutschkem
- 7,826
- 3
- 21
- 56
0
votes
0 answers
How to configure maven to checkout multiple modules before module reactor fails
How should I configure maven parent pom to checkout code before Module list fails because the pom cannot be found.
It seems the maven's reactor test for a module's pom occurs before the generate-sources phase when scm checkouts the projects with the…

garyM
- 802
- 2
- 12
- 29
0
votes
1 answer
org.hibernate.hql.internal.ast.QuerySyntaxException: Class is not mapped maven multi module project
Probably if you have an example repository with a project modularized with maven that separates domain and infra it could help me.
I have a project with this modular archtecture:
parentProject
|-domain
|-infrastructure
|-app
In infrastructure…

Leandro Lima
- 1,140
- 3
- 24
- 42
0
votes
1 answer
Different log4j2 logging levels for maven project with multiple modules
I am having a Maven project with a few different modules (a core module and some other modules dealing various functionalities) for which I would like to set different logging levels using log4j2 (ex: for core module I would like to have detailed…

Lucian Radu
- 302
- 1
- 4
- 17
0
votes
1 answer
How to have maven profile with modules from other project
I have a ModuleA in ProjectA and ModuleB in ProjectB. There is a profile in ProjectB which needs both the modules to be built. How do we achieve this ?
Basically, I want something like this,
test
…

Steve
- 381
- 1
- 6
- 16
0
votes
1 answer
Spring Jpa tables in submodule
I'm coding a multi module project with maven and spring boot 1.5. The pom file of my main module referes in test scope to an other module which provides all of our mock classes. The mock module is just for local tests so it will not go productive…

Patrick Lindner
- 291
- 3
- 9
0
votes
1 answer
Module level sonar analysis in maven Multi Module project
While building from my Parent module, the code coverage and sonar anslysis happens fine. Since Sonar does aggregation of code coverage of all sub modules.
However, When I build my sub-module for code coverage, the analysis is not updated back in…

DeludedPsyche
- 131
- 1
- 2
- 13
0
votes
1 answer
Using Configuration files in multi-module maven project
I am working on multi-module maven project (newbe to multi-module maven projects).
I have Module A with the directory structure /ModuleA/ConfigFiles/config.properties.
And Module B which uses the Module A using maven dependency.
Now Module A source…

Carl
- 83
- 1
- 5
0
votes
0 answers
Three Layer Application using maven multimodule
I need to ask the experiment people around the java technologies.
I develop a 3-tiers application :
Presentation Layer: for the User Interface.
Service Layer: for the business Logic.
Data Layer: for accessing to the database.
Please is this feasible…

majdi
- 43
- 1
- 9
0
votes
0 answers
Maven assembly plugin not loading dependency from local repository
I am trying to build a parent project containing several sub-modules and a "packaging" sub-module - exactly as described under https://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html
The…

Andreas Spengler
- 43
- 1
- 9
0
votes
0 answers
unit tests in multi module maven project are skipped
Scenario: Multi-module Maven project
Issue: Unit tests are only running for a single module.
Background:
I'm attempting to separate my integration testing from unit testing. To do this I've created two properties in my parent pom, Root-module, that…

fakataha
- 785
- 6
- 31
0
votes
1 answer
Maven same aggregator and parent (same pom). Independent sub-modules versions
I started reading about good practices related to multi-module maven projects, specifically about the advice to use separate pom aggregators and parents. I found this site which contains the following paragraph:
What you can see in the module POMs…

user42768
- 1,951
- 11
- 22
0
votes
2 answers
Transform GWT-Project to Multi-Module Project
I am trying to transform a working single GWT-Project into several Maven-Modules.
New structure should look like this:
Project
|- pom.xml
|- Project-Common(only Common-Classes)
|--- pom.xml
|--- Packaging: jar
|- Project-War(includes *gwt.xml)
|---…

Wolfgang
- 1
- 3
0
votes
1 answer
Custom mojos with maven modules
I have a simple Maven multi-module project
Parent project
---Child project 1
---Child project 2 (depends on child project 1)
In the first project, I have a custom MOJO defined that I can call like…

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
- 5,711
- 8
- 54
- 70