Changes for page Quick Start

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

From version 63.1
edited by Ramsey Gurley
on 2015/05/01 13:23
Change comment: There is no comment for this version
To version 61.1
edited by Ramsey Gurley
on 2015/04/30 21:05
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  
... ... @@ -45,10 +45,10 @@
45 45  
46 46  == Step 3: Installing WebObjects Libraries ==
47 47  
48 -Maven takes control of all your project's dependencies. To develop WebObjects applications, Maven has to reference the WebObjects jars. You have to install the WebObjects libraries into your local repository to accomplish this:
44 +Maven takes control of all your project's dependencies. To develop WebObjects applications, Maven has to reference the WebObjects jars. You have to [[install the WebObjects libraries into your local repository>>url:http://wocreator.sourceforge.net/repository-howto.html||shape="rect"]] to accomplish this:
49 49  
50 50  {{noformat}}
51 -mvn wobootstrap:install -DwebObjectsLibFolder=/Library/WebObjects/lib -DwebObjectsVersion=5.4.3
47 +mvn wobootstrap:install
52 52  
53 53  {{/noformat}}
54 54