How to install the Java artifact com.pi4j.pi4j-parent with Maven

By Where Is My Java Artifact

Java
Maven
pom.xml
com.pi4j
pi4j-parent

Add the following lines to your pom.xml within the <project> element. Refer to the documentation to find the latest version available.

<dependencies>
	<dependency>
		<groupId>com.pi4j</groupId>
		<artifactId>pi4j-parent</artifactId>
		<version>1.2</version>
	</dependency>
/dependencies>