Eclipseで「The target runtime server dependencies should be declared in the POM file.」が発生した場合の対応法

Eclipseで「The target runtime server dependencies should be declared in the POM file.」のワーニングが発生した。いろいろ検索していたが、なかなか解決策が見つからない。

最終的に

Known problems and limitations for Apache Maven applications

に解決策が書かれていました。

英語では

You can stop the warning for the project by removing the target runtime from the project properties.

と記述していますが、プロジェクトのプロパティから「Target Runtimes」を選び、チェックしているサーバーのチェックを外すだけでワーニングが消える。