Changes between Version 5 and Version 6 of centosSetup

Show
Ignore:
Timestamp:
04/17/09 16:09:42 (10 years ago)
Author:
dee (IP: 152.54.6.155)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • centosSetup

    v5 v6  
    5252  In a scratch directory retrieve the 2.0.10 version of maven ''wget http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.0.10-bin.tar.gz'' 
    5353 
    54   Extract the contents ''tar xvfz apache-maven-2.0.10-bin.tar.gz'' 
     54  Extract the contents from ''tar xvfz apache-maven-2.0.10-bin.tar.gz'' and move the new directory to '''/usr/share/apache-maven-2.0.10''' by executing: ''mv apache-maven-2.0.10 /usr/share/'' 
     55 
     56  Use alternatives to manage maven configurations: 
     57{{{ 
     58alternatives --install /etc/alternatives/maven maven /usr/share/maven2 
     59alternatives --install /etc/alternatives/maven maven /usr/share/apache-maven-2.0.10 
     60ln -s /etc/alternatives/maven /usr/share/maven 
     61alternatives --config maven (choose the 2.0.10 version) 
     62}}}