これは主に小さな煩わしさです。Maven pom.xmlファイルでは、antrunプラグインを指定しているため、セクションが必要です。これは正常に機能しますが、セクションをネストすると、Eclipseはエラーメッセージをスローします。
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
<executions>
<execution> <!-- Eclipse puts an error here -->
<!-- snip -->
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
したがって、私が愚かな間違いを犯した、M2Eで何かを構成する必要があるなどの可能性があります。
EclipseはM2Eプラグインを備えた3.6です。
ジェイソン