JBoss Maven JSF configurator unnecessarily adds JSF Faces servlet mapping
-------------------------------------------------------------------------
Key: JBIDE-5767
URL:
https://jira.jboss.org/jira/browse/JBIDE-5767
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven
Affects Versions: 3.1.0.CR1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
Fix For: 3.1.0.CR2
Steps to reproduce:
- install Eclipse, JBoss Tools, subclipse (or subversive) and m2eclipse
- create a WTP JSF project and choose /faces/* JSF URL mapping
- call Import>Checkout Maven Projects from SCM if you haven't checked out the
photolabum application or call Import>Existing Maven Projects if you checked out the
photoalbum application
- configure a Seam Runtime (2.1 if you are using richfaces 3.3.2.GA) and JBoss AS server
(4.2 or 5.x)
- select SCM URL: svn and enter
http://anonsvn.jboss.org/repos/richfaces/branches/community/3.3.X/example...
web.xml of the photoalbum-web project will contain the following:
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.seam</url-pattern>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
The configurator unnecessarily adds the
"<url-pattern>/faces/*</url-pattern>" line.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira