]
Josef Kopriva updated JBIDE-9572:
---------------------------------
Component/s: maven
Cannot import Servlets 3.0 projects with M2E WTP integraiton
------------------------------------------------------------
Key: JBIDE-9572
URL:
https://issues.redhat.com/browse/JBIDE-9572
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven
Affects Versions: 3.3.0.M2
Environment: JBDS 5.0.0.M2
https://github.com/richfaces/dev-examples/tree/develop/input-demo
Reporter: Lukáš Fryč
Assignee: Fred Bricon
Priority: Major
Import of Maven projects which has web.xml version set to 3.0 does not work.
When changing version to 2.5, import works fine.
Steps to reproduce:
Does not work:
1. git-clone git@github.com:richfaces/dev-examples.git
2. Import > Existing Maven Projects
3. select dev-examples/input-demo and finish import
FAIL: WTP and Maven integration facets are not active
Works:
1. edit dev-examples/input-demo/src/main/webapp/WEB-INF/web.xml
2. change web-app version="2.5" and
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
3. delete project specific files (.project, .settings, .classpath)
4. Import > Existing Maven Projects
5. select dev-examples/input-demo and finish import
SUCCESS: Web Project works great