iOS appium tests using mvn

We are trying to add running Appium tests for iOS using the java language unit tests. Has anyone gotten this to work? How do you get mvn to run in an iOS build process? Is Appium available in the build environment?