Refactored readme : using restx :-)
Changed maven packaging to war, and updated readme to use mvn jetty:run to test it (cannot consider restangular as a completely packaged jar since there are web resources)
Using restx-server-simple instead of embedded jetty, now starting up in 600ms :
- We can now java-jar the server
- Using a RestxResourceRoute which imply : no need to have any web.xml anymore + web resources should be provided in the classpath => moving them back to resources/static/ dir
- RestangularComponent is now instantiating a new SimpleWebServer, with a routerPath="" which is there to both handle rest/* and web/* requests
The last point sounds weird to me because in order to make it work, I had to update every existing "standard" routes and add a "/rest" prefix on matching urls.
re-added maven-share-plugin definition, merging restx.factory.FactoryMachine SPI files in order to have a java -jar which works out of the box
shade plugin 2.1 is required to add the compatibility with Maven 3.1
replace Restlet by RESTX