Skip to content

Instantly share code, notes, and snippets.

@maggandalf
Created September 7, 2011 17:29
Show Gist options
  • Save maggandalf/1201191 to your computer and use it in GitHub Desktop.
Save maggandalf/1201191 to your computer and use it in GitHub Desktop.
Distribution Management to local directory
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.asotobu.repo</groupId>
<artifactId>github-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>github-test</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<github.maven.repository>file:///home/alex/repository/maven-repository/</github.maven.repository>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>maven-repository</id>
<url>${github.maven.repository}</url>
</repository>
</distributionManagement>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment