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

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

--

Legend:

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

    v5 v6  
    3838}}} 
    3939 
    40  * 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 
     40 * 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''' 
    4141 
    4242{{{ 
     
    6969}}} 
    7070 
    71 Where orca.repository.url can be defined in a properties file to be: 
     71Where '''orca.repository.url''' can be defined in a properties file to be: 
    7272{{{ 
    7373# orca deploy repository url 
     
    7575}}} 
    7676 
     77Finally, to make all this work, you need to edit '''~/.m2/settings.xml''' and add the following lines: 
     78 
     79{{{ 
     80 
     81<settings xmlns="http://maven.apache.org/POM/4.0.0" 
     82  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     83  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
     84                      http://maven.apache.org/xsd/settings-1.0.0.xsd"> 
     85  ... 
     86  <servers> 
     87    ... 
     88    <server> 
     89      <id>orca.deploy</id> 
     90      <username>YOUR_USER_NAME</username> 
     91      <password>YOUR_PASSWORD</password> 
     92    </server> 
     93    <server> 
     94      <id>orca</id> 
     95      <username>YOUR_USER_NAME</username> 
     96      <password>YOUR_PASSWORD</password> 
     97    </server> 
     98    ... 
     99  </servers> 
     100  ... 
     101  <profiles> 
     102    ... 
     103    <profile> 
     104      <id>webdav</id> 
     105      <activation> 
     106        <activeByDefault>true</activeByDefault> 
     107      </activation> 
     108      <properties> 
     109        <username>YOUR_USER_NAME</username> 
     110        <password>YOUR_PASSWORD</password> 
     111      </properties> 
     112    </profile> 
     113    ... 
     114  </profiles> 
     115  ...   
     116</settings> 
     117}}} 
     118 
     119You should now be able to a deploy all of your artifacts to the Orca maven repository. 
    77120 
    78121== Orca Project Web Page ==