プラグイン開発しようと maven 叩くも、エラーが出る…

Jenkinsプラグイン開発Jenkinsプラグインの作り方 で紹介されている settings.xml 丸コピーしてるけど、
mvn package 叩くと com.sun.mirror.apt.AnnotationProcessorFactory が無いってエラーが出る。

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal 'org.jenkins-ci.tools:maven-hpi-plugin:1.64:apt-compile': Unable to load the mojo 'org.jenkins-ci.tools:maven-hpi-plugin:1.64:apt-compile' in the plugin 'org.jenkins-ci.tools:maven-hpi-plugin'. A required class is missing: com/sun/mirror/apt/AnnotationProcessorFactory
com.sun.mirror.apt.AnnotationProcessorFactory

2011/10/24 追記:JDK7 しか入っていなかったためみたいです。JDK6 入れたら無事動きました。


2011/10/25 追記:コメントで教えていただいたので、pom.xml の Jenkins のバージョンを新しくして試してみたら JDK7 でも大丈夫でした。