There are different ways on how you can deploy artifacts in an Archiva repository.
- * {{Maven}} Configuring Maven to deploy to an Archiva repository}}
+ * {{Maven}} Configuring Maven to deploy to an Archiva repository
- * {{Web UI}} Deploying via the Web UI Form}}
+ * {{Web UI}} Deploying via the Web UI Form
Starting with Archiva 1.2.3, it is possible to block re-deployment of released artifacts to a specific repository. This can be configured through the
repository configuration page by ticking the <<<Block Re-deployment of Released Artifacts>>> checkbox.
Configuring Maven 2 to use an Archiva repository
- To get your local Maven 2 installation to use an Archiva proxy you need to add the repositories you require to your 'settings.xml'. This file is usually found in ${user.dir}/.m2/settings.xml (see the {{{http://maven.apache.org/settings.html}Settings Reference}}).
+ To get your local Maven 2 installation to use an Archiva proxy you need to add the repositories you require to your 'settings.xml'. This file is usually found in $\{user.dir\}/.m2/settings.xml (see the {{{http://maven.apache.org/settings.html}Settings Reference}}).
How you configure the settings depends on how you would like to utilise the repository. You can add the Archiva repository as an additional repository to others already declared by the project, or lock down the
environment to only use the Archiva repositories (possibly proxying content from a remote repository).