Update README
This commit is contained in:
34
README.md
34
README.md
@@ -3,37 +3,5 @@ Spring Web Flow Samples
|
|||||||
|
|
||||||
This is the official samples repository for the [Spring Web Flow](http://github.com/SpringSource/spring-webflow) project.
|
This is the official samples repository for the [Spring Web Flow](http://github.com/SpringSource/spring-webflow) project.
|
||||||
|
|
||||||
Build and Run
|
From a sample sub-directory, use `mvn jetty:run` to run a server, or `mvn package` to build a war.
|
||||||
=============
|
|
||||||
|
|
||||||
Running 'mvn package' from this directory generates .war files for all samples.
|
|
||||||
|
|
||||||
Samples without a Portlet dependency can be run with the Tomcat Maven plugin. For example:
|
|
||||||
|
|
||||||
````
|
|
||||||
cd booking-mvc
|
|
||||||
mvn tomcat7:run
|
|
||||||
````
|
|
||||||
|
|
||||||
Eclipse
|
|
||||||
=======
|
|
||||||
|
|
||||||
**Option A:** Classic Eclipse Project
|
|
||||||
|
|
||||||
Generate Eclipse settings for all samples:
|
|
||||||
````
|
|
||||||
mvn eclipse:clean eclipse:eclipse
|
|
||||||
````
|
|
||||||
|
|
||||||
Import the projects into Eclipse. The Eclipse preferences must have an `M2_REPO` under "Java", "Build Path", "Classpath Variables".
|
|
||||||
|
|
||||||
**Option B:** m2e (Maven Integration for Eclipse) Plugin
|
|
||||||
|
|
||||||
Import the projects into Eclipse:
|
|
||||||
File -> Import -> Maven -> Existing Maven Projects
|
|
||||||
|
|
||||||
Contributing
|
|
||||||
============
|
|
||||||
|
|
||||||
[Pull requests](http://help.github.com/send-pull-requests) are welcome.
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user