...
You should have a clearer idea of repository management best practises through the following examples and #counterexamples counterexamples.
Initial configuration
This configuration come with maven without doing anything.

...
- Jetty is now available on central repository so you can remove
| Code Block |
|---|
<repository>
<id>codehaus</id>
<name>Codehaus Release Repo</name>
<url>http://dist.codehaus.org/</url>
</repository>
|
- Project only need snapshot version of cargo plugin so you can remove
| Code Block |
|---|
<pluginRepository>
<id>codehaus</id>
<name>Codehaus Release Repo</name>
<url>http://repository.codehaus.org</url>
</pluginRepository>
|
- The project don't have any dependencies on snapshot version of codehaus artefacts so you can remove
| Code Block |
|---|
<repository>
<id>codehaus-snapshot</id>
<name>Codehaus Snapshot Repo</name>
<url>http://snapshots.repository.codehaus.org</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
|
...
