Plugin execution not covered by lifecycle configuration

2

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

  

Plugin execution not covered by lifecycle configuration: com.github.klieber: phantomjs-maven-plugin: 0.7: install (execution: default, phase: process-test-sources)

You have the options to ignore the error in Eclipse, however I do not want to ignore if not all the team would have to do this on their machines and another to discover new m2e connectors , however no connector 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>
    
asked by anonymous 17.03.2016 / 13:49

0 answers