The plugins development are based on ProjectPluginTemplate template. You can use build command from ANT build.xml. If you get an compilation errors is becose source are reference to internal code. The internal code still not avaible now, and you can use old plugin jar file as classpath entry to fix that.
Back to top
CurrentProjectComponent. This plugin allow to get a project that currently opened, or null if no opened projects. Plugin work on old build #629 and now are depricated. It have wrong idea and NOT recomended to use.