オプションをオンにしてMaven -> Update Project...
ツールを実行した後、.classpath ファイルでこれらの属性に気付き始めました。Update project configuration from pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
...
</classpathentry>
私が最も眉をひそめた属性はこれでした: <attribute name="optional" value="true"/>
.
それは何をするためのものか?プロジェクト内の Java ソース ファイルについてオプションが何も見つからないため、非常に疑わしいように見えます。