0
0

Mavenでライフサイクル構成でカバーされていないプラグインの実行を解決する

Posted at

Eclipseで Maven で tomee-webapp-archtype でMavenプロジェクトを作成すると、以下のようなエラーが出力された。

ライフサイクル構成でカバーされていないプラグインの実行: org.apache.openjpa:openjpa-maven-plugin:3.2.2:enhance (実行: enhancer, phase: process-classes)`

調べると、同じような事象が発生しており、pom.xmlpluginsタグをpluginManagementタグで囲うことで解決できたとのことで、試したところ解決した。

pom.xml
<build>
    <pluginManagement> ←このタグを追加
        <plugins>
            <plugin> ... </plugin>
            <plugin> ... </plugin>
                  ....
        </plugins>
    </pluginManagement> ←このタグを追加
</build>

参照したサイトはこちら。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0