SpringSource STS ツール バージョン 3.2.0 ですべての Maven オプションを失ったようです。
私の唯一のオプションはJavascriptまたはPlug in Projectに変換することであるため、Mavenの性質をプロジェクトに追加することはできません。ウィンドウ設定にMavenオプションが表示されません....pluginsフォルダーにm2eに関連するプラグインが表示されますが、「Spring Tool Suiteについて」を実行すると、m2eアイコンが表示されなくなりました。eclipse マーケット プレイスから m2e を再インストールしようとしましたが、効果がありませんでした。
私のプロジェクトのプラグインを見ることができるように.metadata/.plugins:
org.eclipse.m2e.core
org.eclipse.m2e.core.ui
org.eclipse.m2e.core.jdt
私の .project ファイルは次のようになります。
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>AdminDirect</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.springframework.ide.eclipse.core.springbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.zeroturnaround.eclipse.rebelXmlBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.ajdt.ui.ajnature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>com.springsource.sts.roo.core.nature</nature>
<nature>org.springframework.ide.eclipse.core.springnature</nature>
<nature>org.zeroturnaround.eclipse.jrebelNature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
私はこれらすべてに少し慣れていませんが、このプロジェクトで 6 か月間 m2e を使用して構築してきましたが、消えてしまいました。私はまだmvnコマンドラインからビルドできます。