NetBeans 6.1でMaven2が使えなかった

なぜかエラーが出る。

Attempting to resolve a version for plugin: org.apache.maven.plugins:maven-resources-plugin using meta-version: RELEASE
Using version: 2.2 of plugin: org.apache.maven.plugins:maven-resources-plugin

とか

Error message: Failed to resolve plugin for mojo binding: org.apache.maven.plugins:maven-resources-plugin:RELEASE:resources

とか。

 <build>
  <plugins>
   <plugin>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.0.2</version>
    <configuration>
     <source>1.5</source>
     <target>1.5</target>
    </configuration>
   </plugin>
  </plugins>
 </build>

pluginsのRELEASE だったかそんな感じになっているとこけるらしい。は外してしまうか特定のバージョンを入れるとエラーは回避できた。
versionって自動補完できるのか。さらにはMavenリポジトリ内にあるclassを探してimportの補完までしてくれる。
Apache Maven 2.0入門 Java・オープンソース・ビルドツール はおすすめですか?