Eclipse Java Maven project disables dafault project face

Using Eclipse Luna SR1 with the m2e plugin, I created a Java web project with Maven.

How to remove the default face of a project (e.g. CDI, JPA, etc.) in a pom.xml project?

enter image description here

Uncheck the box "Project boundaries" in the project → Reset properties after Maven → Update project.

+4
source share
1 answer

You can disable m2e integration with corresponding faces in the workspace settings or project properties level under Maven> Java EE integration (for JAX-RS, JPA, JSF) and in JBoss Tools> JBoss Maven Integration for CDI, Hibernate, ...

pom pom.xml:

 <m2e.jaxrs.activation>false</m2e.jaxrs.activation>
 <m2e.jpa.activation>false</m2e.jpa.activation>
 <m2e.jsf.activation>false</m2e.jsf.activation>
 <m2e.cdi.activation>true</m2e.cdi.activation>

:

, JAX-WS Node, , WTP - m2e.

, Project Explorer, Customize View... > Content > JAX-WS Web Services Elements

+8

All Articles