4.3. 추가 아티팩트 업데이트
jboss-eap-installation-manager 를 사용하여 JBoss EAP 설치의 추가 아티팩트를 업데이트할 수 있습니다.
참고
- MyFaces 아티팩트는 Red Hat에서 제공하거나 지원하지 않습니다.
- JBoss EAP 채널 외부의 다른 모든 채널은 지원되지 않습니다.
사전 요구 사항
- Red Hat 고객 포털에 계정이 있고 로그인되어 있습니다.
- JBoss EAP 8.0에서 지원되는 구성을 검토했습니다.
- 지원되는 JDK를 설치했습니다.
-
jboss-eap-installation-manager를 다운로드했습니다.
프로세스
-
터미널 에뮬레이터를 열고
jboss-eap-installation-manager가 포함된 디렉터리로 이동합니다. manifest.yaml파일에서 구독한 사용자 정의 채널을 새 버전의myfaces아티팩트로 업데이트합니다.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.