Fork me on GitHub

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:

RELEASE BUILDS

Maven Repository

RELEASE BUILDS

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

The following dependency is all that is required to include Pi4J (core library) in your Maven project.

<dependency>
    <groupId>com.pi4j</groupId>
    <artifactId>pi4j-core</artifactId>
   <version>1.4</version>
</dependency>

SNAPSHOT BUILDS

Snapshots will be hosted in the following Sonatype OSS repository.
https://oss.sonatype.org/index.html#nexus-search;gav~com.pi4j~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 (core library) in your Maven project.

<dependency>
    <groupId>com.pi4j</groupId>
    <artifactId>pi4j-core</artifactId>
   <version>2.0-SNAPSHOT</version>
</dependency>

Source Repository

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