Java developers adapting an existing Ant build to dependency management often turn to Ivy. Here's an evaluation guide for Nexus Professional (now known as Sonatype Nexus Repository) using two, very simple Ant+Ivy projects. If you are evaluating Nexus Professional, or if you are just looking for some sample projects that configure an Ant + Ivy build to use a repository take a look at this guide. These two projects have build.xml, ivy.xml, and ivysettings.xml files that demonstrate the simplest case of configuring an Ivy build to:
Download dependencies from a Nexus Repository Group with Ivy
Deploy an Artifact to a Nexus Snapshot Repository from Ivy
Staging an Artifact to a Nexus Staging Repository from Ivy
Download Nexus Professional, and then get the eval guide.