I have a maven project which work with maven command (for example mvn install) but when I try to import it into eclipse I got error /complaining about pom.xml The error message from eclipse is :
Plugin execution not covered by lifecycle configuration: com.google.code.maven-replacer-plugin:replacer:1.5.3:replace (execution: default, phase: process-sources)
Below is the snippet of pom.xml which eclipse complains
        <plugin>
            <groupId>com.google.code.maven-replacer-plugin</groupId>
            <artifactId>replacer</artifactId>
            <version>1.5.3</version>
            <executions>
                <execution>
                    <phase>process-sources</phase>
                    <goals>
                        <goal>replace</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <file>src/main/java/com/xyz/Version.java.template</file>
                <outputFile>src/main/java/com/xyz/Version.java</outputFile>
                <replacements>
                    <replacement>
                        <token>@buildtime@</token>
                        <value>${maven.build.timestamp}</value>
                    </replacement>
                    <replacement>
                        <token>@pomversion@</token>
                        <value>${project.version}</value>
                    </replacement>
                </replacements>
            </configuration>
        </plugin>
Any hints will be more than welcome!
 
     
     
    