mavenとeclipsem2eを使用してマルチモジュールの親子mavenプロジェクトを構成しています。EclipseJunoSR1の最新のものであるm2e1.2.0を使用しています。
親pomはエンフォーサープラグインを使用するため、親pom.xmlのプラグインセクションには次のものがあります。
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.1.1</version>
<executions>
<!-- Enforce that all versions of a transative dependency must converge. -->
<execution>
<id>enforce</id>
<configuration>
<rules>
<DependencyConvergence />
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
<!-- Black list certain jars -->
<execution>
<id>enforce-banned-dependencies</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<bannedDependencies>
<excludes>
<exclude>
commons-logging:commons-logging
</exclude>
</excludes>
</bannedDependencies>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
各子プロジェクトには、次のようなエラーメッセージがあります。maven-enforcer-plugin (goal "enforce") is ignored by m2e.
- このメッセージの意味は何ですか?
- このメッセージを取り除くように設定するにはどうすればよいですか?
- eclipseプロジェクト設定またはpom.xml設定を構成する必要がありますか?