jhipster / jhipster-lite

JHipster Lite ⚡ is a development platform to generate, develop & deploy modern web applications & microservices architecture, step by step - using Hexagonal Architecture :gem:

Home Page:https://www.jhipster.tech/jhipster-lite/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve module auto detection

gzsombor opened this issue · comments

Currently, if a project is not generated with JHipster-Lite - maybe, because it was generated with Classic JHipster - the tool could not detect, that certain behaviours are already there, so re-running is not needed.
Like, if there is already a pom.xml, the maven initialization is not strictly needed.
It would be nice, if every module could provide an auto-detection feature, which could be called by JHLite, whenever

  • a project is opened
  • all of the module's dependency are satisfied

to check, if that module should also be considered as executed.
So for example, the MAVEN_JAVA module could check for pom.xml, the MAVEN_WRAPPER could check if mvnw script is there, etc.