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 | 5 months ago
  1. 0

    Maven: Get goal configuration from execution element

    Stack Overflow | 5 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)

    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