npanday automatically generates a javabinding. The java binding is unexpected as this time (according to the documentation it first require to invoke an additional command).

The generated pom-java.xml does not compile for many reasons. First of all the syntax of the annotations cannot be parsed and results in a parse-exception, secondly (when you fix the syntax by hand), the java file will not compile because it imports from wrong packages and inherits from wrong types. Third, when you manually fix those issues it will compile, albeit the plugin will not run.

In the npanday source tree there is an example of the msbuild plugin which actually works as netplugin. However, If you try to build the pom-java.xml of the msbuild plugin, it will fail for the same reasons. Only the provided 'javabinding' works as a plugin and it looks like this has been maintained by hand and not via the mojo-generator plugin.