Plugin execution not covered by lifecycle configuration

Plugin execution not covered by lifecycle configuration: org.scala-tools:maven-scala-plugin:2.15.2:testCompile (execution: default, phase: test-compile)

If your pom.xml has been automatically generated then chances are there that pluginManagement tag is missing.


<build>
    <pluginManagement>
        <plugins>
            <plugin> ... </plugin>
            <plugin> ... </plugin>
                  ....
        </plugins>
    </pluginManagement>
</build>

Just add those closing and starting tags and this should work.

No comments:

Post a Comment

Please share your views and comments below.

Thank You.