This commit promotes the plugin dependency management for the `maven-enforcer-plugin` and `maven-invoker-plugin` to the root. That way these can be used in samples as well rather than having a separate copy. Closes gh-7517
Add a sample that shows how a custom LayoutFactory can be used with both Maven and Gradle. Closes gh-7263