Howto configure maven release settings

To be able to build and deploy any new Castor release, you first have to add the credentials for Codehaus Nexus access to your Maven settings. To do so, please add the followinf <server> definitions to your settings.xml file under .m2 subdirectory of your home directory.

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  ...
  <servers>
    <\!-- Codehaus -->
    <server>
      <id>codehaus-nexus-snapshots</id>
      <username>username</username>
      <password>password</password>
    </server>
    <server>
      <id>codehaus-nexus-staging</id>
      <username>username</username>
      <password>password</password>
    </server>
    ...
  </servers>
</settings>

You have to replace username and password with your Xircles account data.