I received my LeapMotion a week or so ago and have not had much time to get to it so I decided to look at the SDK tonight. The SDK comes with a few examples. While I'm using it on my MacBook Pro I've been using Eclipse at work much more than XCode so I wanted to get it going in Eclipse as a Maven project and I had to do some investigation. I ran across http://www.restlessprogrammer.com/2013_03_01_archive.html which helped me a bit. The key things that I did follow. Install the Leap SDK jar into my maven repository: mvn org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file -Dfile=~/Desktop/LeapMotion/LeapSDK/lib/LeapJava.jar -DgroupId=com.leapmotion.leap -DartifactId=leapMotion -Dversion=1.0.0 -Dpackaging=jar In Eclipse (Kepler) - create a Java project - import the Leap Sample.java file - convert the project to a Maven project with Configure->Convert to Maven project - add the Leap jar dependency to the pom.xml The pom.xml that I came up with follows:
<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">
Once I did the above I was able to 'mvn clean install' and the jar was built.