For adding artifacts to the repository the Repository Viewer portlet is available by selecting Common Libs on the Console Navigation menu on the left hand side. The Repository Viewer portlet illustrated in the following figure displays the artifacts installed in the server's repository. The layout of the repository is the same as that used by Apache Maven making it possible to easily copy files over.

To use an artifact in an application, let's take the first one from the list as an example, you will need to add a <dependency> element under <dependencies> in the <environment> element in the application's deployment plan. Here is an excerpt of how a deployment plan would look like:

xmlsolid <environment> ... <dependencies> ... <dependency> <groupId>activeio</groupId> <artifactId>activeio</artifactId> <version>2.0-r118</version> <type>jar</type> </dependency> </dependencies> </environment>
  • No labels