Changes for page Quick Start

Last modified by Paul Hoadley on 2025/01/30 02:09

From version 66.1
edited by Ramsey Gurley
on 2015/05/01 21:00
Change comment: There is no comment for this version
To version 62.1
edited by Ramsey Gurley
on 2015/04/30 21:14
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,35 +1,31 @@
1 1  == Outline ==
2 2  
3 -== Step 0: Install latest Java ==
3 +== Step 1: Installing Maven ==
4 4  
5 -If you're on a Mac, it's using old and busted Java 6. Update that to Java 8.
5 +Downloading and installing the latest version of [[Maven>>url:http://maven.apache.org/download||shape="rect"]] is the first step to start using this tool.
6 6  
7 -== Step 1: Installing Maven ==
7 +{{tip title="Mac Tip"}}
8 +install macports [[http:~~/~~/www.macports.org/install.php>>url:http://www.macports.org/install.php||shape="rect"]], then on the terminal:
8 8  
9 -Downloading and installing the latest version of [[Maven>>url:https://maven.apache.org/download.cgi||shape="rect"]] is the first step to start using this tool. Download the binary tarball, copy it to /usr/local/, unpack it, soft link it and add the path to your bash_profile:
10 +{{noformat}}
11 +sudo port install maven3
10 10  
11 -{{code title="shell"}}
12 -sudo su
13 -cd /usr/local/
14 -curl -O http://mirror.tcpdiag.net/apache/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
15 -tar -xzf apache-maven-3.3.3-bin.tar.gz
16 -ln -s apache-maven-3.3.3 apache-maven
17 -exit
18 -cd ~/
19 -vi .bash_profile
20 -{{/code}}
13 +{{/noformat}}
21 21  
22 -Then in your bash profile, make your path look something like:
15 +In future, to keep this up to date:
23 23  
24 -export PATH=/usr/local/apache-maven/bin:$PATH
17 +{{noformat}}
18 +sudo port upgrade maven3
25 25  
26 -And tell maven where your non-mac Java home is located
20 +{{/noformat}}
27 27  
28 -export JAVA_HOME=$(/usr/libexec/java_home)
22 +Don't forget to install maven_select:
29 29  
30 -You should now be able to do
24 +{{noformat}}
25 +sudo port install maven_select
31 31  
32 -mvn -version
27 +{{/noformat}}
28 +{{/tip}}
33 33  
34 34  **NOTE**: It is very helpful if you understand some Maven concepts before continuing with this tutorial. See [[doc:General Maven Documentation]] for more information.
35 35  
... ... @@ -41,8 +41,6 @@
41 41  
42 42  **NOTE for those who know what to do**: You can download the complete and most recent settings.xml [[here>>attach:settings.xml]] and install it to ~~/.m2/settings.xml.
43 43  
44 -Download the [[archetype-catalog.xml>>url:http://maven.wocommunity.org/content/groups/public/archetype-catalog.xml||shape="rect"]] and copy it to ~~/.m2/archetype-catalog.xml
45 -
46 46  See [[Maven Settings Reference>>url:http://maven.apache.org/settings.html||shape="rect"]] if you want more information about additional options for the settings.xml file.
47 47  
48 48  == Step 3: Installing WebObjects Libraries ==