From 5b56b4f15d0146fda1767f51c4e7182075f7ec75 Mon Sep 17 00:00:00 2001 From: "ch.ko123" Date: Sun, 1 Nov 2009 19:44:33 +0000 Subject: [PATCH] updated readme git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@399 4033779f-a91e-0410-96ef-6bf7bf53c507 --- README.txt | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.txt b/README.txt index 96feccffe..b1fa39109 100644 --- a/README.txt +++ b/README.txt @@ -1,24 +1,30 @@ -Maven can be downloaded at: http://maven.apache.org/ -At Ubuntu it can be installed with: -> apt-get install maven2 +Prerequisites: -Build the project +- Java 1.6 +- Maven > 2.0.9 + Maven can be downloaded at: http://maven.apache.org/ + At Ubuntu it can be installed with: + > apt-get install maven2 + +Building the project ------------------ > cd webgoat +> mvn compile + +copy it to the local repository > mvn install delete artifacts from previous build: > mvn clean -Build the Eclipse project files +Building the Eclipse project files ------------------------------- > mvn eclipse:eclipse Afterward the project can be imported within Eclipse: File -> Import -> General -> Existing Projects into Workspace - Don't forget to declare a classpath variable named M2_REPO, pointing to ~/.m2/repository, otherwise many links to existing jars will be broken. You can declare new variables in Eclipse in Windows -> Preferences... and selecting Java -> Build Path -> Classpath Variables