Changes between Version 4 and Version 5 of Orca Maven Repository and Project Web Page

Show
Ignore:
Timestamp:
12/21/08 14:29:56 (11 years ago)
Author:
aydan (IP: 69.134.122.47)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Orca Maven Repository and Project Web Page

    v4 v5  
    33== Orca Maven Repository == 
    44 
    5 The Orca Maven repository is located on the RENCI web server and can be accessed using the following http address: https://geni-orca.renci.org/svn/orca/. 
     5The Orca Maven repository is located on the RENCI web server and can be accessed using the following http address: '''https://geni-orca.renci.org/svn/orca/'''. 
    66 
    77All Orca projects must be configured to deploy their artifacts to the repository using the WEBDAV wagon. This configuration should have already been performed for all projects, but if you are adding a new project, here are some things to consider. 
    88 
     9 * The WEBDAV url is: '''dav:https://geni-orca.renci.org/maven''' 
    910 * If your project is a descendant of Orca's top-level pom file (orca/orca), the wagon should already be enabled. 
    1011 * To enable the webdav wagon for a new top-level project you need to add the following to your pom.xml file: 
     
    3940 * If your project must invoke ant you will have to add the following lines to pass the user name and password to your ant file. In general you only need to add these to the deploy phase. Note: this is needed to work around the problem of ant ignoring the security settings inside ~/.m2/settings.xml 
    4041 
    41 {{ 
     42{{{ 
    4243<property name="username" value="${username}" /> 
    4344<property name="password" value="${password}" /> 
    44 }}  
     45}}}  
    4546 
    4647 * The deploy task inside your ant script should look something like this. Note the authentication tag, which takes the username and password properties we passed from the pom.xml file 
     
    5859 
    5960 * You will also need to enable the webdav wagon in your ant script (yes, seems like we already did this, but ant does not pick the wagon settings from maven directly). Your ant file (or a file that it includes) should contain the following lines: 
     61 
    6062{{{ 
     63 
    6164<!-- Declare the main orca repository --> 
    6265<artifact:remoteRepository id="orca" url="${orca.repository.url}" /> 
     
    6669}}} 
    6770 
     71Where orca.repository.url can be defined in a properties file to be: 
     72{{{ 
     73# orca deploy repository url 
     74orca.deploy.repository.url=dav:https://geni-orca.renci.org/maven 
     75}}} 
     76 
    6877 
    6978== Orca Project Web Page ==