Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

creation of Rational Asset Manager related asset links automatically based on Maven POM

Hello,

I am testing RAM as a Maven repository.  It seems to be working fine in general, in that I can download/upload assets from RAM by specifying the RAM server in the repositories and distributionManagement section of the POM.  However, when I used maven deploy to upload one of my assets to RAM that had an identified dependency on another asset I have in RAM, I expected a "related asset" link to be created between the two automatically, but it wasn't.  Should it have?

Thanks,
Chris

0 votes

Comments

I should mention the version of RAM I am using:

7.5.2 RAM752-I20130819_1135

Does RAM have first class support for acting as a Maven repo manager? I can't remember the version at the time but when my team evaluated RAM for that purpose it was not supported.

Hi Jeff.  Yes, as of 7.5.2 it does.

http://pic.dhe.ibm.com/infocenter/ramhelp/v7r5m1/index.jsp?topic=%2Fcom.ibm.ram.doc%2Ftopics%2Fc_maven_library.html

http://pic.dhe.ibm.com/infocenter/ramhelp/v7r5m1/index.jsp?topic=%2Fcom.ibm.ram.web.doc%2Ftopics%2Ft_create_use_maven.html

The maven library information indicates that it includes a few related asset links called Depends On and Dependent.  But I don't see those being created when I publish using mvn deploy, though the asset is created/updated properly other than that.




One answer

Permanent link
 hi, Chris. Please refer to the POM Generation policy. http://pic.dhe.ibm.com/infocenter/ramhelp/v7r5m1/topic/com.ibm.ram.doc/topics/r_policies_4_lifecycles.html
This policy will automatically create the assets relationship according to the dependencies in pom xml file. 

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 45

Question asked: Dec 10 '13, 11:28 a.m.

Question was seen: 4,901 times

Last updated: Feb 24 '14, 3:08 a.m.

Confirmation Cancel Confirm