Why break a Maven project into submodules?

What are the main possible reasons for the destruction of the Maven project for submodules?

+3
source share
3 answers

Are you looking for more than the benefits of modulation? Submodules should ideally be a single concept / function so that they are functionally cohesive.

+2
source

Waiting for a response to my comment.

  • The reason for dividing the Java-based maven project into submodules is that you can create JAR / RAR / WAR / EAR / independently.

  • Java JAR, , , // .

+2
  • Pom , . , , 300 , , apache commons-io, commons-io, dependencyManagement . .
  • , 300 , , , ( ) 300 . , , , , , , , 300 .
  • /
+2

Source: https://habr.com/ru/post/1773027/


All Articles