You need to implement
request, IProgressMonitor monitor) which will be called during maven
project import or a manual trigger of "Maven > Update Project
can be helpful (or not!)
Examples of Facet installation can be found in the source of JBoss Tools
The configurator needs to be declared in both plugin.xml and
lifecycle-mapping.xml, present at the root of the eclipse plugin.
On 23/09/2011 16:18, Rob Cernich wrote:
Thanks for the reply.
> If you want to create a Maven project using a WTP project wizard
> (dynamic web project, ejb project, ear project, utility project ...),
> you have to add the JBoss Maven integration facet that will add the
> Maven builder/nature to the project. It will create pom.xml and the
> corresponding maven plugin (war, ejb, ear) and enable you to add
> dependencies using Maven Library Provider
> The JBoss Maven Integration facet is also obliged if you want to use
> some of the JBoss Maven configurators (JSF, CDI, Seam 2, Portlet,
> Hibernate ...).
This use case helps me better understand the purpose of the maven facet.
On a related note, is there a hook for configuring project facets during a project
import, specifically import existing maven project?
jbosstools-dev mailing list