Our Java EE project has a RESTful interface available at something like http://example.com/rest/
. When the development is progressing we create new versions of this interface. In order to enable backward compatibility we'd like to provide them all online, at different URLs, for example:
http://example.com/rest/1.0/
http://example.com/rest/1.1/
The question is how to deploy them? Shall we assemble a number of WARs (we use Maven)? But the project has the latest version in /trunk
.. Maybe we should package them all into one WAR by means of some Maven plugin, retrieving them from Subversion /tags
? What is your experience?