IPOJO Maven Plugin Usage

Declarations inside try block
There is a bug in version 1.8.2 of the iPOJO Maven plugin that causes a failure when variables are declare inside try blocks.

This causes the iPOJO plugin to fail with the following error.

[ERROR] Failed to execute goal org.apache.felix:maven-ipojo-plugin:1.8.2:ipojo-bundle (default) on project com.itslm.omneity.data: Execution default of goal org.apache.felix:maven-ipojo-plugin:1.8.2:ipojo-bundle failed: java.lang.ClassNotFoundException: com.tinkerpop.blueprints.Vertex -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.felix:maven-ipojo-plugin:1.8.2:ipojo-bundle (default) on project com.itslm.omneity.data: Execution default of goal org.apache.felix:maven-ipojo-plugin:1.8.2:ipojo-bundle failed: java.lang.ClassNotFoundException: com.tinkerpop.blueprints.Vertex at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) ...

Instead the declarations must be moved outside the try block, then everything is fine.

There is, supposedly, a fix in 1.8.4 but attempts to use the 1.8.4 candidate plugin resulted in another unrelated error. The developers say (@Jul 6 2012) that this secondary issue is resolved in the latest development build of 1.8.4, this project will adopt the solution once released.