Small project demonstrating dependency inversion/injection capabilities with bare-bones spring.
- maven 3.9 or newer
- java 17 or newer
- spring (just core, context and test) 6.1 or newer
./mvnw compile package
./mvnw test
./mvnw compile exec:java
- Conversion of this project into a kotlin project is left as exercise.
- The jar assembly plugin configuration is left as exercise.
- Spring core and context dependencies are the minimum, bare-bones to sample the container and dependency injection.
- Properties is the standard way to inject configurations.
- Spring test offers some facilities to ease the component testing process.