Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] How does m2e-wtp figure out what facet to configure for a project?

That nicely answers my question. Thank you.

On Wed, Aug 3, 2011 at 3:33 PM, Fred Bricon <fbricon@xxxxxxxxx> wrote:
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 <www.sahoo@xxxxxxxxx>
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
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users




--
"Have you tried turning it off and on again" - The IT Crowd

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top