4.3. 追加のアーティファクトの更新
jboss-eap-installation-manager を使用して、JBoss EAP インストール内の追加のアーティファクトを更新できます。
注記
- MyFaces アーティファクトは、Red Hat によって提供もサポートもされていません。
- JBoss EAP チャネル以外の他のチャネルは、すべてサポート対象外です。
前提条件
- Red Hat カスタマーポータル にアカウントがあり、ログインしている。
- JBoss EAP 8.1 のサポート対象の構成を確認している。
- サポート対象の JDK をインストールしている。
jboss-eap-installation-managerがシステム上に存在する。注記jboss-eap-installation-managerが利用できない場合は、Red Hat カスタマーポータル からダウンロードできます。
手順
-
ターミナルエミュレーターを開き、
jboss-eap-installation-managerを含むディレクトリーに移動します。 新しいバージョンの
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新しく更新されたマニフェストをデプロイします。
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- JBoss EAP サーバーを停止します。
アーティファクトを更新します。
$ ./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.