Enabling the Maven library

To manage Maven assets, you can enable the Maven library in IBM® Rational® Asset Manager. The Maven library is collection of asset types and relationships.

Before you begin

To enable the Maven library, you must be a repository administrator.

The mvn client can integrate with Rational Asset Manager by using the Maven repository. The mvn client is installed by default on typical Linux operating systems.

Procedure

  1. On the Rational Asset Manager web client home page, log on with an account that has master administrative permissions for the repository.
  2. Click Administration.
  3. On the sidebar, click Libraries.
    Important: If the Maven library is already enabled on the server, you cannot import the library again. Continue to the next step.

    If the Maven library was imported but not enabled, in the list of libraries, click the version number of the Maven library. Then, continue to step 7

  4. Click Import Existing Library. The Import Library window opens.
  5. Select Select a built-in library, and then select Maven from the list.
  6. Click OK.
  7. Confirm that the information in the Maven library does not conflict with assets or metadata that are in the repository or that are controlled by other libraries on the page for the Maven library. Then, in the Library Actions sidebar, click Enable. The assets, asset types, and asset attributes for the Maven library are enabled on your repository.
  8. Click Administration to return to the list of communities in the repository.

Results

After you activate the library, the Group.Id attribute and the POM Generation policy are available for assets in your repository.


Feedback