Questions tagged [maven-module]
106 questions
1
vote
0 answers
How to force modules recompilation in multimodule SpringBoot maven project?
There is a Maven project with two modules with this structure.
project
moduleA
pom.xml // library
moduleB
pom.xml // SpringBoot application
pom.xml // parent aggregator
Module B depends on A.
When executing…

diziaq
- 6,881
- 16
- 54
- 96
1
vote
2 answers
maven - multi-module project access parent source code & avoid redundant dependency declaration
So, I have project I am trying to split up into multi-modules where each module has its own pom.xml file & thus, builds as a separate artifact. At the same time, I also have a single parent pom file outside each of these modules that is the …

duppydodah
- 165
- 1
- 3
- 17
1
vote
2 answers
How to execute spring boot module from parent directory?
I don't understand why this doesn't work; it seems like tutorials that use spring boot and angular as maven modules end up running things directly with java instead so this problem doesn't exist there... but I think this should still work right?
TO…

gunslingor
- 1,358
- 12
- 34
1
vote
0 answers
Maven : import modules dependencies in parent project buildpath
I'm trying to convert an old Ant project to Maven. The project has a massive code base which is packed in different wars using Ant targets. It has multiple source folders, and each war is generated using different classes of these source folder. The…

ultracode
- 107
- 1
- 8
1
vote
0 answers
Skip plugin execution for root pom
can you tell me how to skip plugin execution of root pom? This pom contains only defined modules:

Denis Stephanov
- 4,563
- 24
- 78
- 174
1
vote
1 answer
Maven MultiModule local install does not update
Project A
--Module B
--pom.xml
--Module C
--pom.xml
pom.xml
I am working with a multimodule project where project A, module B, and Module C all have their own pom files. Module A and Module B reference the ProjectA pom…

Karan Sharma
- 475
- 1
- 5
- 16
1
vote
1 answer
Reuse maven properties in submodule without common parent
In maven multimodule project, there is a submodule that needs to inherit from external parent project. Therefore it cannot inherit from the parent module as other submodules, and those cannot inherit that external parent (so making the external…

Oliver Gondža
- 3,386
- 4
- 29
- 49
1
vote
1 answer
How do I manage version numbers with modularized Maven projects?
I have a fairly typical plugin architecture that looks something like this (just larger):
project
core
data
main
ui
The parent project has a version number defined, is packaged as a pom and defines modules in it's…

Cypher
- 2,608
- 5
- 27
- 41
1
vote
3 answers
Can one module read another module's bean?
I have two SpringBoot modules. commons and web.
In commons module, I define a bean:
And I can get this bean In the commons test
But unfortunately, I can not get the bean from anther module.
Am I mistake something? I want to get the bean which…

Shuai Li
- 2,426
- 4
- 24
- 43
1
vote
0 answers
Travis CI fails with Child module ... does not exist
My git repository structure is as following:
-my-repo
-.mvn
-.travis.yml
-my-parent-project
-child-module
-pom.xml
-pom.xml
Where the parent pom includes
child-module
And my .travis.yml looks…

forhas
- 11,551
- 21
- 77
- 111
1
vote
1 answer
Maven project dependency
Currently I have 3 maven projects:
ProjectCommon
_______|________
| |
ProjectA ProjectB
Resulting on this 3…

Beto Neto
- 3,962
- 7
- 47
- 81
1
vote
1 answer
Trying to build uberjar from multiple maven modules
I am trying to build a single uber-jar from a set a modules that are mostly independent, but it's not working the way I'd thought.
I was initially directed here:…

FrustratedWithFormsDesigner
- 26,726
- 31
- 139
- 202
1
vote
0 answers
Maven run all spring & angular modules at once
I want to run this project: github
How can I run all modules of this project (Angular & 2xSpring Boot) at once and test this in the browser?
I dont know how to start this. When I'm running these spring projects separately by mvn spring-boot:run and…

user3361149
- 83
- 1
- 7
1
vote
1 answer
Push changed project structure into git
I have currently single project without modules in Git.
But now I do some changes and one of these changes is split project into maven modules and created maven inheritance.
Can you tell me please if can I simply push it into master branch or…

Denis Stephanov
- 4,563
- 24
- 78
- 174
1
vote
1 answer
Email doesn't contain JUnit results when custom jelly script is used in jenkins and it is a Multi module maven project in jenkins
Project type: Multi Module Maven Project
Server: Jenkins
Plugin: Email Ext Plugin with jelly script and it is expected to send email template as below:
Jelly Script file:

Vijaykumar
- 11
- 2