左側の Console Navigation メニューから Common Libs を選択して表示される Repository Viewer ポートレットを使用すれば、アーティファクトをリポジトリーに追加できます。リポジトリーのレイアウトはApache Mavenで使われているものと同じですので、ファイルを上書きコピーすることも簡単です。
リストの先頭のものを例として取り上げますと、アプリケーションでアーティファクトを使用するにはアプリケーションのデプロイメント・プランの <environment> 要素中の <dependencies> の下に <dependency> 要素を追加します。一部の抜粋ですが、デプロイメント・プランは下記のような感じになっているはずです。
Code Block |
---|
|
<environment>
...
<dependencies>
...
<dependency>
<groupId>activeio</groupId>
<artifactId>activeio</artifactId>
<version>2.0-r118</version>
<type>jar</type>
</dependency>
</dependencies>
</environment>
|