Automate Asset Creation

March 13, 2009

An important factor for ensuring the assets you create are used is to apply the necessary metadata so that they are found. Asset consumers often don’t take the time to properly fill in all the appropriate attributes or assign the appropriate categories. As a result these assets may not be found when people search for them. This results in duplicate assets and wasted work. Also, incorrectly categorized assets may not get the appropriate review, which can result in rework by teams who try to use the defective asset.

This tutorial shows how XML artifacts can be used to assign asset attributes and categories so that you can automate asset submission for any domain area. In the demonstration we show how RAM can automatically assign asset attribute values and categories by introspecting the asset XML artifacts.  The example focuses on Apache Maven components. Component consumers can then submit Maven components to the repository faster, find them faster and have a graphical view of the dependencies and component metadata.

This Webcast presentation and demonstration on the Rational Asset Manager Exchange part 1 shows  how RAM v7.1.1.1 can automate asset submission for assets that have an XML Artifact, like assets for Maven.  Download the demonstration Maven Asset Library and try it out yourself with your own Maven components.

Part 2 of the Webcast shows step by step directions for administrators to setup automated asset submission for Rational Asset Manager.  The zip file a also includes the presentation used in the Webcast.


3 Responses to “Automate Asset Creation”

  1. Carlos Says:

    FYI. POM (Version 3) does not use namespace.
    For some domains there will be a namespace specified like Maven 2 POM (Version 4)
    <project xmlns=”″
    So you must declare this namespace under the Namespace Mappings section in the RAM XML Attribute
    and the XPath expression becomes
    will evaluate to
    <project xmlns=”″ …


    To handle both POM (Version 4 with namespace) and POM (Version 3 without namespace), you can use the following XPath expression
    /project/groupId/text() | /default:project/default:groupId/text()

  2. David Courtin Says:

    Hi Carlos,

    An old post, but we’ve this use case to implement in our project. The links seems all dead. Can’t you send me some material ?



    • Carlos Says:

      Sorry about that. I used Fileden and they require you to login every month. I just logged in and they deleted all the files. Ask Derek Baron the new RAM Product manager to email you the files. We have them in an internal repository.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: