You can download pi4j-core-1.0.jar in this page.
Open Source
pi4j-core-1.0.jar file has the following types.
LICENSE.txt META-INF/MANIFEST.MF META-INF/maven/com.pi4j/pi4j-core/pom.properties META-INF/maven/com.pi4j/pi4j-core/pom.xml NOTICE.txt README.md com.pi4j.concurrent.DefaultExecutorServiceFactory.class com.pi4j.concurrent.ExecutorServiceFactory.class com.pi4j.concurrent.ScheduledExecutorServiceWrapper.class com.pi4j.concurrent.ShutdownDisabledExecutorWrapper.class com.pi4j.io.gpio.GpioController.class com.pi4j.io.gpio.GpioFactory.class com.pi4j.io.gpio.GpioPin.class com.pi4j.io.gpio.GpioPinAnalog.class com.pi4j.io.gpio.GpioPinAnalogInput.class com.pi4j.io.gpio.GpioPinAnalogOutput.class com.pi4j.io.gpio.GpioPinDigital.class com.pi4j.io.gpio.GpioPinDigitalInput.class com.pi4j.io.gpio.GpioPinDigitalMultipurpose.class com.pi4j.io.gpio.GpioPinDigitalOutput.class com.pi4j.io.gpio.GpioPinInput.class com.pi4j.io.gpio.GpioPinOutput.class com.pi4j.io.gpio.GpioPinPwm.class com.pi4j.io.gpio.GpioPinPwmOutput.class com.pi4j.io.gpio.GpioPinShutdown.class com.pi4j.io.gpio.GpioProvider.class com.pi4j.io.gpio.GpioProviderBase.class com.pi4j.io.gpio.GpioProviderPinCache.class com.pi4j.io.gpio.PiFacePin.class com.pi4j.io.gpio.Pin.class com.pi4j.io.gpio.PinDirection.class com.pi4j.io.gpio.PinEdge.class com.pi4j.io.gpio.PinMode.class com.pi4j.io.gpio.PinPullResistance.class com.pi4j.io.gpio.PinState.class com.pi4j.io.gpio.RCMPin.class com.pi4j.io.gpio.RaspiGpioProvider.class com.pi4j.io.gpio.RaspiPin.class com.pi4j.io.gpio.event.GpioPinAnalogValueChangeEvent.class com.pi4j.io.gpio.event.GpioPinDigitalStateChangeEvent.class com.pi4j.io.gpio.event.GpioPinEvent.class com.pi4j.io.gpio.event.GpioPinListener.class com.pi4j.io.gpio.event.GpioPinListenerAnalog.class com.pi4j.io.gpio.event.GpioPinListenerDigital.class com.pi4j.io.gpio.event.PinAnalogValueChangeEvent.class com.pi4j.io.gpio.event.PinDigitalStateChangeEvent.class com.pi4j.io.gpio.event.PinEvent.class com.pi4j.io.gpio.event.PinEventType.class com.pi4j.io.gpio.event.PinListener.class com.pi4j.io.gpio.exception.GpioPinExistsException.class com.pi4j.io.gpio.exception.GpioPinNotProvisionedException.class com.pi4j.io.gpio.exception.InvalidPinException.class com.pi4j.io.gpio.exception.InvalidPinModeException.class com.pi4j.io.gpio.exception.PinProviderException.class com.pi4j.io.gpio.exception.UnsupportedPinModeException.class com.pi4j.io.gpio.exception.UnsupportedPinPullResistanceException.class com.pi4j.io.gpio.exception.ValidationException.class com.pi4j.io.gpio.impl.GpioControllerImpl.class com.pi4j.io.gpio.impl.GpioEventMonitorExecutorImpl.class com.pi4j.io.gpio.impl.GpioEventMonitorImpl.class com.pi4j.io.gpio.impl.GpioPinImpl.class com.pi4j.io.gpio.impl.GpioPinShutdownImpl.class com.pi4j.io.gpio.impl.GpioScheduledExecutorImpl.class com.pi4j.io.gpio.impl.PinImpl.class com.pi4j.io.gpio.tasks.impl.GpioBlinkStopTaskImpl.class com.pi4j.io.gpio.tasks.impl.GpioBlinkTaskImpl.class com.pi4j.io.gpio.tasks.impl.GpioEventDebounceTaskImpl.class com.pi4j.io.gpio.tasks.impl.GpioEventDispatchTaskImpl.class com.pi4j.io.gpio.tasks.impl.GpioPulseTaskImpl.class com.pi4j.io.gpio.trigger.GpioBlinkStateTrigger.class com.pi4j.io.gpio.trigger.GpioBlinkStopStateTrigger.class com.pi4j.io.gpio.trigger.GpioCallbackTrigger.class com.pi4j.io.gpio.trigger.GpioInverseSyncStateTrigger.class com.pi4j.io.gpio.trigger.GpioPulseStateTrigger.class com.pi4j.io.gpio.trigger.GpioSetStateTrigger.class com.pi4j.io.gpio.trigger.GpioSyncStateTrigger.class com.pi4j.io.gpio.trigger.GpioToggleStateTrigger.class com.pi4j.io.gpio.trigger.GpioTrigger.class com.pi4j.io.gpio.trigger.GpioTriggerBase.class com.pi4j.io.gpio.trigger.OutputTargetedGpioTrigger.class com.pi4j.io.i2c.I2CBus.class com.pi4j.io.i2c.I2CDevice.class com.pi4j.io.i2c.I2CFactory.class com.pi4j.io.i2c.I2CFactoryProvider.class com.pi4j.io.i2c.I2CFactoryProviderBanana.class com.pi4j.io.i2c.I2CFactoryProviderRaspberry.class com.pi4j.io.i2c.impl.I2CBusImpl.class com.pi4j.io.i2c.impl.I2CBusImplBananaPi.class com.pi4j.io.i2c.impl.I2CDeviceImpl.class com.pi4j.io.serial.Serial.class com.pi4j.io.serial.SerialDataEvent.class com.pi4j.io.serial.SerialDataListener.class com.pi4j.io.serial.SerialFactory.class com.pi4j.io.serial.SerialPortException.class com.pi4j.io.serial.impl.SerialDataMonitorThread.class com.pi4j.io.serial.impl.SerialImpl.class com.pi4j.io.spi.SpiChannel.class com.pi4j.io.spi.SpiDevice.class com.pi4j.io.spi.SpiFactory.class com.pi4j.io.spi.SpiMode.class com.pi4j.io.spi.impl.SpiDeviceImpl.class com.pi4j.jni.I2C.class com.pi4j.jni.Serial.class com.pi4j.system.NetworkInfo.class com.pi4j.system.NetworkInterface.class com.pi4j.system.SystemInfo.class com.pi4j.temperature.TemperatureConversion.class com.pi4j.temperature.TemperatureScale.class com.pi4j.util.ExecUtil.class com.pi4j.util.NativeLibraryLoader.class com.pi4j.util.StringUtil.class com.pi4j.wiringpi.Gertboard.class com.pi4j.wiringpi.Gpio.class com.pi4j.wiringpi.GpioInterrupt.class com.pi4j.wiringpi.GpioInterruptCallback.class com.pi4j.wiringpi.GpioInterruptEvent.class com.pi4j.wiringpi.GpioInterruptListener.class com.pi4j.wiringpi.GpioUtil.class com.pi4j.wiringpi.I2C.class com.pi4j.wiringpi.Lcd.class com.pi4j.wiringpi.Nes.class com.pi4j.wiringpi.Serial.class com.pi4j.wiringpi.Shift.class com.pi4j.wiringpi.SoftPwm.class com.pi4j.wiringpi.SoftTone.class com.pi4j.wiringpi.Spi.class lib/libpi4j.so
pi4j-core-1.0.pom file content.
<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> <!-- MAVEN ARTIFACT INFORMATION --> <artifactId>pi4j-core</artifactId> <name>Pi4J :: Java Library (Core)</name> <description>Pi4J Java Library for the Raspberry Pi</description> <packaging>jar</packaging> <parent> <groupId>com.pi4j</groupId> <artifactId>pi4j-parent</artifactId> <version>1.0</version> </parent> <!-- PROJECT DEPENDENCIES --> <dependencies> <!-- while the pi4j-native dependency is not needed for compiling this project, including it here ensures that it get compiled in the maven build lifecycle before the pi4j-core project. --> <dependency> <groupId>com.pi4j</groupId> <artifactId>pi4j-native</artifactId> <version>${project.version}</version> <type>so</type> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> <!-- BUILD INSTRUCTIONS --> <build> <resources> <resource> <directory>${project.build.directory}</directory> <filtering>false</filtering> <includes> <include>LICENSE.txt</include> <include>NOTICE.txt</include> <include>README.md</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> </resource> </resources> <plugins> <!-- JAVA COMPILER --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> </plugin> <!-- INCLUDE SOURCE JAR --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> <!-- INCLUDE JAVADOC JAR --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> </plugin> <!-- GENERATE LICENSE HEADERS IN SOURCE FILES --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> </plugin> <!-- RETRIEVE THE JNI NATIVE LIBRARY DEPENDENCY --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy</id> <phase>validate</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <!-- we define the libpi4j native project as a dependency so that native library can be included in the final packaged pi4j.jar --> <artifactItem> <groupId>com.pi4j</groupId> <artifactId>pi4j-native</artifactId> <version>${project.version}</version> <type>so</type> <overWrite>true</overWrite> <outputDirectory>${project.build.directory}/lib</outputDirectory> <destFileName>libpi4j.so</destFileName> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <!-- EMBED THE JNI NATIVE LIBRARY INSIDE THE JAR --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>embed-jni-native-resource</id> <phase>generate-resources</phase> <goals> <goal>add-resource</goal> </goals> <configuration> <resources> <resource> <directory>${project.build.directory}/lib</directory> <targetPath>lib</targetPath> </resource> </resources> </configuration> </execution> </executions> </plugin> <!-- OSGi BUNDLE --> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> <Bundle-Version>${project.version}</Bundle-Version> <Export-Package> com.pi4j.concurrent.*, com.pi4j.util.*, com.pi4j.jni.*, com.pi4j.wiringpi.*, com.pi4j.system.*, com.pi4j.temperature.*, com.pi4j.io.serial.*, com.pi4j.io.gpio.*, com.pi4j.io.i2c.* </Export-Package> <Private-Package> </Private-Package> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> <!-- INCLUDE OSGi MANIFEST IN JAR --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <!-- OPTIONALLY DEPLOY THE FINAL JAR TO THE RASPBERRY PI --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <!-- copy the compiled JAR file to the Raspberry Pi platform platform --> <execution> <id>transfer-compiled-pi4j-jar</id> <phase>install</phase> <goals> <goal>run</goal> </goals> <configuration> <tasks> <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" /> <if> <equals arg1="${pi.transfer.dev}" arg2="true" /> <then> <!-- ensure the target directory exists on the Raspberry Pi --> <sshexec host="${pi.host.dev}" port="${pi.port.dev}" username="${pi.user.dev}" password="${pi.password.dev}" trust="true" failonerror="false" verbose="true" command="mkdir --parents ${pi.dirCopyTo.dev}" /> <!-- copy the JAR file to the Raspberry Pi --> <scp file="${project.build.directory}/${project.build.finalName}.jar" todir="${pi.user.dev}:${pi.password.dev}@${pi.host.dev}:${pi.dirCopyTo.dev}" port="${pi.port.dev}" trust="true" verbose="true" failonerror="true"> </scp> </then> </if> </tasks> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant-jsch</artifactId> <version>${ant-jsch.version}</version> </dependency> <dependency> <groupId>com.jcraft</groupId> <artifactId>jsch</artifactId> <version>${jsch.version}</version> </dependency> <dependency> <groupId>ant-contrib</groupId> <artifactId>ant-contrib</artifactId> <version>${ant-contrib.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> </project>
<dependency> <groupId>com.pi4j</groupId> <artifactId>pi4j-core</artifactId> <version>1.0</version> </dependency>
If you think the following pi4j-core-1.0.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.
Download pi4j-core-1.0.jar file