Skip to content

Instantly share code, notes, and snippets.

@romain-grecourt
Last active March 5, 2020 19:25
Show Gist options
  • Save romain-grecourt/2d725e4c10fb31efe3ace34699e28a1a to your computer and use it in GitHub Desktop.
Save romain-grecourt/2d725e4c10fb31efe3ace34699e28a1a to your computer and use it in GitHub Desktop.
Helidon init

Our requirements

  • Nice interactive user experience (terminal prompts)
  • Structured properties to support conditons (e.g. if ${jpa} then ask ${data-source})
  • Map files and templates to archetype properties
  • Standalone (no mvnw, no pom.xml, just java)
  • Support Maven Archetype ?

Maven Archetype issues

  • Flat properties structure (How to support conditions?)
  • No property description (How to describe the properties on the interactive command prompt?)
  • No optional files (How to include certain files only when certain properties are set?)
  • Requires Maven (How to bootstrap from the cli ? How about Gradle?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment