Builds

A Jenkins CI server provides builds for the JavaCPP Presets, building across a range of platform targets and uploading snapshots. The current build status for this targets is below, with the tail of log files available to assist in any debugging. This is a recent addition and so any feedback is welcome!

Using snapshot builds

These builds can be used instead of the main release cycles to test and use latest features with only two changes required.

Firstly, in your maven settings file, add a profile like the one below to enable snapshots:

<profile>
  <id>allow-snapshots</id>
  <activation><activeByDefault>true</activeByDefault></activation>
  <repositories>
    <repository>
      <id>snapshots-repo-oss</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
      <releases><enabled>false</enabled></releases>
      <snapshots><enabled>true</enabled></snapshots>
    </repository>
  </repositories>
</profile>

Secondly, update your pom file to use the latest snapshot. A full set of definitions based on the latest builds is provided at the end of this page. Taking the OpenCV presets example , the dependency in pom file would change to this:

<dependency>
  <groupId>org.bytedeco.javacpp-presets</groupId>
  <artifactId>opencv-platform</artifactId>
      <version>3.1.0-1.3.1-SNAPSHOT</version>
</dependency>

It’s also advisable to use specify your host platform with the javacpp.platform flag, e.g. for 64 bit linux “-Djavacpp.platform=linux-x86_64”, as full distributions for all platforms may not be available.

Current build status

These builds are currently run on a weekly basis, with any failed jobs left for further resolution. Fixes welcome!

State Target Last Failed Build Last Successful Build Build Log
Presets-AndroidArm 10-02-2017 06:49:00 08-01-2017 15:39:57 Log
Presets-AndroidX86 07-01-2017 14:00:47 20-12-2016 15:49:56 Log
Presets-Linux64 10-02-2017 09:33:37 21-12-2016 17:31:45 Log
Presets-Linux32 10-02-2017 05:51:29 21-12-2016 10:55:06 Log
Presets-LinuxArmhf 07-02-2017 15:40:43 05-02-2017 18:31:37 Log
Presets-Mac64 07-01-2017 12:00:52 01-12-2016 20:40:10 Log
Presets-PPC64LE 04-02-2017 11:27:35 10-02-2017 07:34:52 Log
Presets-Windows32 06-02-2017 13:25:29 10-02-2017 09:31:56 Log
Presets-Windows64 03-02-2017 04:53:33 10-02-2017 07:30:15 Log
Presets-Linux64-OpenJDK9 21-12-2016 11:38:41 21-12-2016 16:56 Log


Full set of pom additions

Similarly to the Maven information information for full builds provided here, snapshot presets can be used with the following dependencies based on the latest build:

    <dependency>
      <groupId>org.bytedeco</groupId>
      <artifactId>javacpp</artifactId>
      <version>1.3</version>
    </dependency>

    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>opencv-platform</artifactId>
      <version>3.1.0-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>ffmpeg-platform</artifactId>
      <version>3.2.1-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>flycapture-platform</artifactId>
      <version>2.9.3.43-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>libdc1394-platform</artifactId>
      <version>2.2.5-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>libfreenect-platform</artifactId>
      <version>0.5.3-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>librealsense-platform</artifactId>
      <version>1.9.6-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>videoinput-platform</artifactId>
      <version>0.200-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>artoolkitplus-platform</artifactId>
      <version>2.3.1-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>chilitags-platform</artifactId>
      <version>master-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>flandmark-platform</artifactId>
      <version>1.07-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>hdf5-platform</artifactId>
      <version>1.10.0-patch1-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>openblas-platform</artifactId>
      <version>0.2.19-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>fftw-platform</artifactId>
      <version>3.3.5-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>gsl-platform</artifactId>
      <version>2.2.1-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>llvm-platform</artifactId>
      <version>3.9.1-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>leptonica-platform</artifactId>
      <version>1.73-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>tesseract-platform</artifactId>
      <version>3.04.01-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>caffe-platform</artifactId>
      <version>master-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>cuda-platform</artifactId>
      <version>8.0-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>mxnet-platform</artifactId>
      <version>master-1.3.1-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>org.bytedeco.javacpp-presets</groupId>
      <artifactId>tensorflow-platform</artifactId>
      <version>0.11.0-1.3.1-SNAPSHOT</version>
    </dependency>