mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-05 17:38:06 +08:00
![]() This commit adds a project generation infrastructure based on the abstraction defined thus far. Each project is described by a `ProjectDescription` that provides the basic information about the project such as language, build system, packaging, platform version and more. Each project runs in a dedicated `ProjectApplicationContext` where contributors and customizers are elected to generate the project. Customizers are meant to update the model based on the `ProjectDescription` and other factors while contributors consume models to generate project assets (build files, source files, etc). Because project generation runs in a dedicated context, components can be flagged with special conditions that enable them only when necessary. Several conditions are provided in this commit to enable a component based on the language, build system, packaging, platform version or requested dependency. See gh-340 Co-authored-by: Andy Wilkinson <awilkinson@pivotal.io> Co-authored-by: Madhura Bhave <mbhave@pivotal.io> |
||
---|---|---|
.. | ||
src | ||
pom.xml |