Eclipse project Mavenに変更

Maven Eclipse プラグイン org.eclipse.m2e を入れた後の Eclipse3.7 で
任意のプロジェクトをMavenプロジェクトに変える方法(管理ファイルを編集するしかないのか!?)

.project を開き nature として、org.eclipse.m2e.core.maven2Nature を追加する。
以下のようにする。

<natures>
    <nature>org.springframework.ide.eclipse.core.springnature</nature>
    <nature>org.eclipse.jdt.core.javanature</nature>
    <nature>org.eclipse.m2e.core.maven2Nature</nature>
<natures>

pom.xml
を用意したら、

<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>

Maven依存関係を追加する。