From 123a2d764f81db53e895fcf605a04d4f3d445887 Mon Sep 17 00:00:00 2001 From: "ch.ko123" Date: Sun, 1 Nov 2009 16:01:47 +0000 Subject: [PATCH] README.txt for Maven build added git-svn-id: http://webgoat.googlecode.com/svn/trunk@397 4033779f-a91e-0410-96ef-6bf7bf53c507 --- webgoat/README.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 webgoat/README.txt diff --git a/webgoat/README.txt b/webgoat/README.txt new file mode 100644 index 000000000..96feccffe --- /dev/null +++ b/webgoat/README.txt @@ -0,0 +1,24 @@ +Maven can be downloaded at: http://maven.apache.org/ +At Ubuntu it can be installed with: +> apt-get install maven2 + +Build the project +------------------ +> cd webgoat +> mvn install + +delete artifacts from previous build: +> mvn clean + + +Build 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 +