README.txt for Maven build added
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@397 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
e3d3946862
commit
7d2327dfd9
24
README.txt
Normal file
24
README.txt
Normal file
@ -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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user