Download

You can use any of the following methods to download the Pi4J library.

Direct Download

You can download the compiled Pi4J library JARs directly here:
http://code.google.com/p/pi4j/downloads

Maven Repository

Pi4J release builds will be deployed to Maven Central when each final version build is released.\

Snapshots will be hosted in the following Sonatype OSS repository.
https://oss.sonatype.org/index.html#nexus-search;quick~pi4j

To download SNAPSHOT builds in your Maven project, you must include the following repository definition in your POM.XML file.

<repositories>
	<repository>
		<id>oss-snapshots-repo</id>
		<name>Sonatype OSS Maven Repository</name>
		<url>https://oss.sonatype.org/content/groups/public</url>
		<snapshots>
			<enabled>true</enabled>
			<updatePolicy>always</updatePolicy>
		</snapshots>
	</repository>
</repositories>

The following dependency is all that is needed to include Pi4J in your Maven project.

<dependency>
	<groupId>com.pi4j</groupId>
	<artifactId>pi4j-core</artifactId>
	<version>${project.version}</version>
</dependency>

Source Repository

This project is provided as open source software and is hosted at GitHub:
https://github.com/Pi4J/pi4j