org.apache.maven.plugin.testing.ConfigurationException: Cannot find a configuration element for a plugin with an artifactId of {plugin-name}. at org.apache.maven.plugin.testing.AbstractMojoTestCase.extractPluginConfiguration(AbstractMojoTestCase.java:619)

Stack Overflow | Artsiom Kotau | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Maven: Get goal configuration from execution element

    Stack Overflow | 10 months ago | Artsiom Kotau
    org.apache.maven.plugin.testing.ConfigurationException: Cannot find a configuration element for a plugin with an artifactId of {plugin-name}. at org.apache.maven.plugin.testing.AbstractMojoTestCase.extractPluginConfiguration(AbstractMojoTestCase.java:619)

  1. Casper 1 times, last 3 weeks ago

Root Cause Analysis

  1. org.apache.maven.plugin.testing.ConfigurationException

    Cannot find a configuration element for a plugin with an artifactId of {plugin-name}. at org.apache.maven.plugin.testing.AbstractMojoTestCase.extractPluginConfiguration(AbstractMojoTestCase.java:619)

    at org.apache.maven.plugin.testing.AbstractMojoTestCase.extractPluginConfiguration()
  2. M2 Testing
    MojoRule.lookupMojo
    1. org.apache.maven.plugin.testing.AbstractMojoTestCase.extractPluginConfiguration(AbstractMojoTestCase.java:582)
    2. org.apache.maven.plugin.testing.AbstractMojoTestCase.lookupMojo(AbstractMojoTestCase.java:353)
    3. org.apache.maven.plugin.testing.MojoRule.lookupMojo(MojoRule.java:164)
    3 frames