My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Using_Artifactory_to_Add_Dependencies_to_Projects  
Updated Apr 23, 2010 by kumarami...@gmail.com

Using Artifactory to Add Dependencies to Projects

Introduction

In order to add third party dependencies to the POM, we will be using artifactory http://nema-dev.lis.illinois.edu/artifactory/ to search for the dependency and modify the project's POM to include the dependency. If your changes should remain with the project then check in the pom.xml file after modifying and testing it.

Instructions

  1. Go to http://nema-dev.lis.illinois.edu/artifactory/ and use the search box in the top right hand corner of the page to search for the dependency you want to include in the POM file (e.g. enter mysql when searching for a mysqlconnector jar file).

  2. Select the POM file for the dependency you want to include in the results (if it is not listed contact Amit and/or Andrew Shirk).

  3. From the contextual menu that will pop up, select Show In Tree.

  4. Click on the POM view tab (Note that this ma not be visible initially, depending on your window size, so use the white triangle to get the next set of tab) and copy the
  5. <dependency>
    ...
    </dependency>
  6. Open the POM file for the project that you wish to add the dependency to (either in Eclipse or a text editor).
    • In a text editor add the dependency XML fragment to the <dependencies> list.
    • Alternatively, in the eclipse Maven POM file editor fill in the fields using the data from the <dependency> XML fragment.

  7. Finally add a scope to the dependency.
Powered by Google Project Hosting