Changes between Version 27 and Version 28 of FAQs

Show
Ignore:
Timestamp:
10/31/10 13:10:53 (9 years ago)
Author:
ibaldin (IP: 98.26.125.73)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQs

    v27 v28  
    9999ant -emacs export64.actor.certificate -Dactor=guid_of_the_actor 
    100100}}} 
     101---- 
     102Q: How can I add an external jar file to maven project? 
     103 
     104A: Get this file from svn: 
     105 
     106https://geni-orca.renci.org/svn/orca/tools/pom/tags/orca-parent-1.0/deploy.sh. Copy it in the root of your code checkout. 
     107 
     108Read the file and create ~/.m2/settings.xml as directed. 
     109 
     110Invoke the file like this: 
     111 
     112deploy.sh groupid artifactid version packaging path_to_artifact 
     113{{{ 
     114groupid: flowvisor 
     115artifactid: flowvisor 
     116version: 1.0 
     117packaging: jar 
     118path_to_artifact: path_to_your jar 
     119}}} 
     120Then you can refer to this jar in your pom file like this: 
     121{{{ 
     122       <dependency> 
     123           <groupId>flowvisor</groupId> 
     124           <artifactId>flowvisor</artifactId> 
     125           <version>1.0</version> 
     126       </dependency 
     127}}} 
     128NOTE: change the groupid/artifactid/version as you see fit. Just make sure you remember what you passed to deploy.sh so that you can use the same parameters in your dependency declaration.