Maven : Deploying artifacts to an internal repository

This page last changed on Feb 28, 2006 by Kees de Kooter

The deploy goal expects a configuration like this to be present in the pom. In this case the repository is a samba share on a linux machine. the file: protocol needs 4 (FOUR) slashes.

  <distributionManagement>
    <repository>
        <id>traffic-local</id>
        <name>Local Traffic ITS Repository</name>
        <url>file:////traffic01/www/html/maven-2.0-repository</url>
    </repository>
  </distributionManagement>