Skip to content

The example of multi-module maven project with conditional configuring

Notifications You must be signed in to change notification settings

quantumua/multimodule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multi-module-demo

A demo of building multi-module maven project with pass-through versioning and conditionally enabled modules

  • app1 - building context by scanning base package, dependencies are the simple libraries of spring-annotated classes in the same top-level package
  • app2 - building context from starters, no need to have them in the same top-level package. Starters used spring.factories to propagate context to external application.
  • app3 - building context from starters. Starters used @ConditionalOnProperty for property-driven context configuration of external application.

I believe that app3 is the most suitable approach

About

The example of multi-module maven project with conditional configuring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages