9.3. プロジェクトへのプロファイルの追加
プロジェクトに対して JBoss Maven リポジトリーを有効にするには、次のようにプロファイルを
$HOME/.m2/settings.xml
の settings.xml
ファイルに追加します。
例9.1 プロファイルの追加
以下が
settings.xml
ファイルに含まれていることを確認し、プロファイルを有効にします。
例9.2 プロファイルの有効化
<activeProfiles> <!-- Optionally, make the repositories active by default --> <activeProfile>jboss-ga-repository</activeProfile> <activeProfile>jboss-earlyaccess-repository</activeProfile> </activeProfiles>
<activeProfiles>
<!-- Optionally, make the repositories active by default -->
<activeProfile>jboss-ga-repository</activeProfile>
<activeProfile>jboss-earlyaccess-repository</activeProfile>
</activeProfiles>
宣言型の依存関係管理をサポートしないビルドシステムを使用している場合は、Red Hat JBoss Data Grid パッケージに含まれる
client/java/
ディレクトリーの内容を、ビルドクラスパスへ追加します。