forge/springboot-addon

Spring boot facet not added when creating projects with extra dependencies

sebastienblanc opened this issue · 0 comments

I discovered this bug when trying to setup the Spring Boot JPA layer : If I create a "vanilla" Spring Boot project then the jpa-setup works fine and when I do a jpa-new-entity it also creates the Repository Interface.
But If I create a Spring Boot project and add for instance web or keycloak in the creation wizard then for some reason I fall back on the default "jpa" commands (the on used for Java EE projects).

I'm not sure but I think the SpringBootFacet.class does get installed well, anyway I'm pretty sure that https://github.com/forge/springboot-addon/blob/master/src/main/java/org/jboss/forge/addon/springboot/commands/SpringBootCommandTransformer.java#L50 doesn't enter the if statement