If the Facet.isInstalled() method returns true, then Forge assumes that it is installed in the current project. 

A new JPAFacet impl should only be created when a new JPA spec version is out.

Em 30 de mai de 2017 10:05, "Charles Moulliard" <cmoullia@redhat.com> escreveu:
Hi,

I'm wondering how Forge knows which facet it should use if by example we have these classes defined under this package : org.jboss.forge.addon.javaee.jpa

JPAFacetImpl_2_0
JPAFacetImpl_2_1

What do you suggest to do if I would to add a new JPAFacetImpl ?

Regards,

Charles

_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users