It's all about the answers!

Ask a question

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


Chris Ratcliffe (2633330) | asked Dec 10 '13, 11:28 a.m.
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

Comments
Chris Ratcliffe commented Dec 10 '13, 11:30 a.m.

I should mention the version of RAM I am using:

7.5.2 RAM752-I20130819_1135


Jeff Care commented Dec 11 '13, 10:23 p.m.

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.


Chris Ratcliffe commented Dec 12 '13, 10:20 a.m.

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
Ary Zhang (2324) | answered Feb 24 '14, 3:08 a.m.
JAZZ DEVELOPER
 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. 

Your answer


Register or 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.