The installed facets are based on the packaging and the configuration of
relevant maven plugins

   - for war projects : adds the Java and Dynamic Web Facets, based on
   maven-war-plugin configuration
   - for ejb projects : adds the Java and EJB Facets, based on
   maven-ejb-plugin configuration
   - for ear projects : adds the EAR Facet, based on maven-ear-plugin
   configuration
   - for rar projects : adds the Java and Connector Facets, based on
   maven-rar-plugin configuration
   - for jar dependency projects of JavaEE projects : adds the Java and
   Utility Facets.

I also plan on adding application client support in a future version :
https://issues.sonatype.org/browse/MECLIPSEWTP-104

Unfortunately there is no decent documentation available yet. If you want to
contribute some, you'll be most welcome :-) (Open a request at
https://issues.sonatype.org/browse/MECLIPSEWTP)

Shameless plug : In JBoss Tools (http://www.jboss.org/tools), more facets
based on the dependencies of a JavaEE project can be configured (JSF, CDI).

regards,

Fred Bricon



2011/8/3 Sanjeeb Sahoo <[email protected]>

> Does m2e-wtp go by <packaging> type in the pom.xml to decide what facets to
> configure when a new maven project is created? Is this mapping documented
> anywhere?
>
> Thanks,
> Sahoo
>
> _______________________________________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>


-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to