4.3. 更新其他工件


您可以使用 jboss-eap-installation-manager 更新 JBoss EAP 安装中的其他工件。

注意
  • 红帽不提供或支持 MyFaces 工件。
  • 不支持 JBoss EAP 频道以外的所有其他频道。

前提条件

流程

  1. 打开终端模拟器,再前往包含 jboss-eap-installation-manager 的目录。
  2. 使用新版本的 myfaces 工件更新 manifest.yaml 文件中订阅的自定义频道:

    schemaVersion: 1.0.0
    name: MyFaces manifest file
    streams:
      - groupId: org.apache.myfaces.core
        artifactId: myfaces-impl
        version: 4.0.1
      - groupId: org.apache.myfaces.core
        artifactId: myfaces-api
        version: 4.0.1
    Copy to Clipboard Toggle word wrap
  3. 部署新更新的清单:

    mvn deploy:deploy-file -Dfile=manifest.yaml \
      -DgroupId=com.example.channels -DartifactId=myfaces \
      -Dclassifier=manifest -Dpackaging=yaml -Dversion=1.0.1 \
      -Durl=file:/path/to/local/repository
    Copy to Clipboard Toggle word wrap
  4. 停止 JBoss EAP 服务器。
  5. 更新工件:

    $ ./jboss-eap-installation-manager.sh update perform --dir jboss-eap8
    Updating server: /tmp/jboss/jboss-eap-8.0
    
    Updates found:
      org.apache.myfaces.core:myfaces-api                   4.0.0                ==>  4.0.1
      org.apache.myfaces.core:myfaces-impl                  4.0.0                ==>  4.0.1
    
    Continue with update [y/N]: y
    Building updates
    
    Feature-packs resolved.
    Packages installed.
    Downloaded artifacts.
    JBoss modules installed.
    Configurations generated.
    JBoss examples installed.
    
    Build update complete!
    Applying updates
    Update complete!
    Operation completed in 21.48 seconds.
    Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部