Update README

This commit is contained in:
Rossen Stoyanchev
2018-02-08 12:40:23 -05:00
parent e4dae5f719
commit 10bec8607c

View File

@@ -1,39 +1,9 @@
Spring Web Flow Samples
=======================
Spring Web Flow 2.4.x Samples
=============================
This is the official samples repository for the [Spring Web Flow](http://github.com/SpringSource/spring-webflow) project.
This branch is based on Spring Web Flow 2.4.x and Spring Framework 4.3.x.
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.