title: How to keep all versions of RESTful interface online?
body: <p>Our Java EE project has a RESTful interface available at something like <code>http://example.com/rest/</code>. 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:</p>
  
  <pre><code>http://example.com/rest/1.0/
  http://example.com/rest/1.1/
  </code></pre>
  
  <p>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 <code>/trunk</code>.. Maybe we should package them all into one WAR by means of some Maven plugin, retrieving them from Subversion <code>/tags</code>? What is your experience?</p>