Book Image

Tapestry 5: Building Web Applications

Book Image

Tapestry 5: Building Web Applications

Overview of this book

Table of Contents (17 chapters)
Tapestry 5
Credits
About the Author
About the Reviewers
Preface
Foreword
Where to Go Next

Install Maven


Note

Please note: you will need to download Maven 2.0.5! The "latest and greatest" version 2.0.7 might not work for you.

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...