Now everything is ready for the next step, installing Maven.
Install Maven
Please note: you will need to download Maven 2.0.5! The "latest and
greatest" version 2.0.7 might not work for you.
Creating Your Working Environment
[ 22 ]
You can get Maven 2.0.5 at http://archive.apache.org/dist/maven/binaries/.
Choose the package that is most convenient for you, like maven-2.0.5-bin.zip,
download it, unpack and copy the resulting directory to a convenient place on your
computer. It can become /Users/YourUserName/maven-2.0.5 on a Mac or C:\
maven-2.0.5 on a Windows machine.
Finally, add the path to Maven's bin directory to the PATH variable of your system.
On a Windows machine, the addition to the PATH variable should look like,
C:\maven-2.0.5\bin. On a Mac, add the following string to .bash_profile (but
replace YourUserName with your actual user name):
export PATH=${PATH}:/Users/YourUserName/maven-2.0.5/bin
Finally, to check if everything was set up properly, enter the following command:
mvn -version
The output should be similar to this:
Maven version: 2.0.5
Now we are ready to use Maven to download and make available everything that is
required for a Tapestry project, including all the dependencies.
Pages:
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48