The Maven model library is an information model for Maven
assets. You can use the model library to manage Maven assets and their
dependencies and make them available as a Maven repository.
The Maven model library is included in IBM® Rational® Asset Manager.
You can use the POM Generation policy to work with other products
as a Maven repository.
With the model library, you can use
IBM Rational Asset Manager as
a repository with Maven. When Maven assets are visible from a repository
URL servlet, you can use those assets for the following purposes:
- To satisfy dependencies during a Maven build process
- To accept uploaded files during a Maven deployment process
To enable the Maven model library, you must be a repository administrator. For more information, see Enabling the Maven library.
The Maven repository is available at http://<hostname>:<port>/<context-root>/maven2.
Maven model library features
The Maven model
library includes the following features:
- Asset attributes
- The asset attribute in the Maven model library is Group.Id. Group.Id is
an identifier for a Maven asset that is unique for a particular Maven
project.
- Example assets
- The Maven model library includes several sample assets. The asset
type is Example Maven. These assets are for demonstration purposes
only. You do not have to use these assets, or the Example Maven type.
- Relationship types
- The relationship types in the Maven model library include Depends
on and Dependent.
Note: Only Maven 2 is supported.