存放庫現代化工具 repo-modernizer
Repository Modernizer是專為重組現有專案套件而開發的公用程式,其將內容和程式碼分割為獨立套件,以與Adobe Experience Manager as a Cloud Service定義的專案結構相容。
簡介 introduction
Adobe Experience Manager as a Cloud Service為AEM專案提供許多新功能和可能性。 不過,Adobe Experience Manager Maven專案必須進行一些變更,才能與AEM Cloud Service相容。 概略來說,AEM需要分隔 內容 和 程式碼 分成離散的子套件,以遵循可變和不可變內容之間的分割。 另請參閱 AEM專案結構 以進一步瞭解Cloud Service的全新AEM專案結構。
Repository Modernizer會建立下列部署結構,以建立相容的AEM Cloud Service專案結構:
-
ui.apps
套件部署至/apps
並包含所有程式碼 -
ui.content
套件部署到執行階段可寫入的區域(例如,/content
,/conf
,/home
,或不存在的任何專案/apps
)並包含所有內容和設定。 -
all
封裝是包含子封裝的容器封裝ui.apps
和ui.content
.
pom.xml/filter.xml files
. 另請參閱 原型24 以取得更多詳細資料。使用Repository Modernizer using-repo-modernizer
-
透過Adobe I/OCLI :Adobe建議透過以下方式使用Repository Modernizer:
aio-cli-plugin-aem-cloud-service-migration
(適用於Adobe I/OCLI的AEMas a Cloud Service程式碼重構外掛程式)。另請參閱 Git資源: aio-cli-plugin-aem-cloud-service-migration 以便您瞭解如何安裝和使用外掛程式。
-
作為獨立公用程式: Repository Modernizer也可以作為獨立公用程式執行。
另請參閱 Git資源: Repository Modernizer 以便您瞭解如何使用此工具。
note note NOTE Repository Modernizer是使用NodeJS開發。 建議安裝NodeJS 10.0+。