Eclipse: Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-dependency-plugin:2.6

While i was working with org.cadehaus.mojo.archtypes -webapp-javaee7 archtype i got the follwoing exception in eclipse kepler

Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-dependency-plugin:2.6 

To resolve this include plugins inside pluginManagement tag.
Following is the sample part from pom.

 <pluginManagement>  
     <plugins>  
       <plugin>  
         <groupId>org.apache.maven.plugins</groupId>  
         <artifactId>maven-compiler-plugin</artifactId>  
         <version>3.1</version>  
         <configuration>  
           <source>1.7</source>  
           <target>1.7</target>  
           <compilerArguments>  
             <endorseddirs>${endorsed.dir}</endorseddirs>  
           </compilerArguments>  
         </configuration>  
       </plugin>  
       <plugin>  
         <groupId>org.apache.maven.plugins</groupId>  
         <artifactId>maven-war-plugin</artifactId>  
         <version>2.3</version>  
         <configuration>  
           <failOnMissingWebXml>false</failOnMissingWebXml>  
         </configuration>  
       </plugin>  
       <plugin>  
         <groupId>org.apache.maven.plugins</groupId>  
         <artifactId>maven-dependency-plugin</artifactId>  
         <version>2.6</version>  
         <executions>  
           <execution>  
             <phase>validate</phase>  
             <goals>  
               <goal>copy</goal>  
             </goals>  
             <configuration>  
               <outputDirectory>${endorsed.dir}</outputDirectory>  
               <silent>true</silent>  
               <artifactItems>  
                 <artifactItem>  
                   <groupId>javax</groupId>  
                   <artifactId>javaee-endorsed-api</artifactId>  
                   <version>7.0</version>  
                   <type>jar</type>  
                 </artifactItem>  
               </artifactItems>  
             </configuration>  
           </execution>  
         </executions>  
       </plugin>  
     </plugins>  
     </pluginManagement>