在WildFly 8.2.0上安装Apache MyFaces 2 [英] Installing Apache MyFaces 2 on WildFly 8.2.0
问题描述
我想在WildFly 8.2.0中添加apache myfaces 2.2.7并将其用作默认实现.
I want to add apache myfaces 2.2.7 in WildFly 8.2.0 and use it as default implementation.
任何人都可以让我知道我在哪里可以找到Apache myfaces的安装程序吗?
Can anybode please let me know where can I found installer jar for apache myfaces ?
我正在跟踪 https://developer.jboss.org/wiki/StepsToAddMyFacesSupportToWildFly 将MyFaces支持添加到WildFly.
I am following the link https://developer.jboss.org/wiki/StepsToAddMyFacesSupportToWildFly to add MyFaces support to WildFly.
据我所知,我需要下载install-myfaces-2.2.7.jar,然后将其重命名为cli.
As I understand correctly, I need to download install-myfaces-2.2.7.jar and then rename it to cli.
但是我在哪里可以找到这个罐子?如上面的链接所述,我在连结存储库上找不到该罐子.
But where can I find this jar ? I couldn't find the jar on nexus respository as mentioned in the above link.
推荐答案
我找到了一种获取此jar的方法.
I found a way to get this jar.
以下是步骤:
下载 WildFly 8.2.0 的源代码.
转到位置:<WILDFLY_SOURCE_ROOT>/jsf/multi-jsf-installer.
在命令下运行-
Go to location : <WILDFLY_SOURCE_ROOT>/jsf/multi-jsf-installer.
Run below command -
mvn -Djsf-version=2.2.7 -Pmyfaces clean assembly:single
这将创建.zip文件,应将其重命名为.cli.
This will create .zip file which should be renamed to .cli.
请点击链接-此处以获取详细说明
Please follow the link - here for detailed description
这篇关于在WildFly 8.2.0上安装Apache MyFaces 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!