Plugin Execution not covered by Lifecycle Configuration

Asked

Viewed 108 times

2

I have implemented unit tests in my application using Jasmine and I want to configure a continuous integration in Maven so that the tests run automatically. Already working, however an error is appearing in the Eclipse console and I would like to remove it, follows the error in the line <execution>:

Plugin Execution not covered by Lifecycle Configuration: com.github.klieber:phantomjs-Maven-plugin:0.7:install (Execution: default, Phase: process-test-sources)

Have the options to ignore the error in Eclipse, however do not want to ignore if not the whole team would have to do this on their machines and other to discover new m2e connectors, however no Nector is shown on the screen.

Pom.xml:

        <plugin>
            <groupId>com.github.klieber</groupId>
            <artifactId>phantomjs-maven-plugin</artifactId>
            <version>0.7</version>
            <executions>
                <execution>
                    <goals>
                        <goal>install</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <version>1.9.2</version>
            </configuration>
        </plugin>
        <plugin>
            <groupId>com.github.searls</groupId>
            <artifactId>jasmine-maven-plugin</artifactId>
            <version>2.1</version>
            <executions>
                <execution>
                    <goals>
                        <goal>test</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <jsSrcDir>WebContent/public/utils/test/jasmine</jsSrcDir>
                <jsTestSrcDir>WebContent/public/utils/test/spec</jsTestSrcDir>
                <preloadSources>
                    <include>WebContent/public/utils/js/validate_utils-company-1.0.js</include>
                </preloadSources>
                <webDriverClassName>org.openqa.selenium.phantomjs.PhantomJSDriver</webDriverClassName>
                <webDriverCapabilities>
                    <capability>
                        <name>phantomjs.binary.path</name>
                        <value>${phantomjs.binary}</value>
                    </capability>
                </webDriverCapabilities>
                <haltOnFailure>true</haltOnFailure>
            </configuration>
        </plugin>
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.