-
Notifications
You must be signed in to change notification settings - Fork 5
Migrating to Reststop 3
Espen Fossen edited this page Feb 14, 2017
·
7 revisions
The main differences in Reststop 3.0 are internal, but there are some api changes for web applications:
-
ServletBuilderandFilterPhasehas been moved out of reststop-api intoreststop-servlet-api - The API of
ServletBuilderis slightly changed in order to support binding a servlet/filter/resource to several paths. - In order to get your servlets deployed
reststop-servlet-deploy-pluginis needed as a plugin. -
AssetFilterhas been pulled out intoreststop-assets-plugin, so if you are serving assets this plugin has to be added to your build.
If you are packaging your application with the bootstrap mechanism and reststop-jetty-plugin you have to add reststop-servlet-api to containerDependencies (in execution of the dist goal on reststop-maven-plugin). See reststop-hello-world.
See also the release notes