Stan Silvert [
https://community.jboss.org/people/ssilvert] commented on the document
"Design of AS7 multi-JSF feature"
To view all comments on this document, visit:
https://community.jboss.org/docs/DOC-47689#comment-12363
--------------------------------------------------
The permanent solution is in WildFly. See
https://community.jboss.org/docs/DOC-48903
Design of WildFly Multi-JSF feature. There is a bit of tweaking required to get this
working on AS7.
Bruno, I think you used a version of jboss-jsf-installer that is meant for WildFly. The
web-common module only exists in WildFly.
I've added a tag to
https://github.com/ssilvert/jboss-jsf-installer/tags the
jboss-jsf-installer that works better with AS7. To use this version of the installer you
will need to tell it the exact version of AS7 you are running. For example,
+mvn -Djsf-version=2.1.8+ +-Dversion.jboss.as=7.2.0.Final+ +-Pmyfaces clean
assembly:single+
To get this working in AS7 with CDI, you also need make some manual changes. See my
earlier comment at
https://community.jboss.org/docs/DOC-47689#comment-11484
https://community.jboss.org/wiki/DesignOfAS7Multi-JSFFeature#comment-11484. You'll
need to make module.xml changes to get it working with Weld/CDI on AS7.
--------------------------------------------------