From a different question here I found a code snippet to handle the open file event in my java app. However, even though I'm building my app in a Mac OS X environment and my IDE can find the com.aple.eawt.* classes (in rt.jar in the Oracle SDK I'm using), maven does not find them. I've looked for clues about what I need to do in pom.xml to hint to maven about the classpath, but really the advice seems to boil down to:
1) Add whatever jar you need into a project repo
2) or use bad form and link to the specific jar.
Since I'm trying to build this app in a way that it will still run on other platforms, I'd like to solve this without having to bundle the whole Apple-specific runtime into the build.