legacy-knowledge-base
公開されました Sep. 10, 2025

GradleやMavenで複数のリポジトリをセットアップするには?

written-by

Tamas Kovacs

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

カスタム・コード・プロジェクトに複数のリポジトリを使用する場合、MavenセントラルからBOMファイルを取得する際に問題に直面する可能性があります。

そのため、Liferay では内部 CDN サイトの利用を推奨しています: https://repository-cdn.liferay.com/nexus/content/groups/public/com/liferay/portal/release.dxp.bom/

これは、BOMを取得するためにLiferayのCDNサイトを優先しながら、他の依存関係のためにMaven centralも使い続けるにはどうしたらいいかという疑問をもたらします。

環境

  • Liferay DXP 6.0 - 7.4 四半期リリース
  • これらのビルド・ツールのいずれかを使用する:
    • Gradle
    • Maven

解像度

did-this-article-resolve-your-issue

legacy-knowledge-base