Know/Java

m2 eclipse 버전업시에 에러 ignore

Marine™ 2012. 2. 24. 22:37
반응형

아래의 내용을 <build> 태그 사이에 입력

<pluginManagement>
<plugins>
    <!-- Ignore/Execute plugin execution -->
    <plugin>
        <groupId>org.eclipse.m2e</groupId>
        <artifactId>lifecycle-mapping</artifactId>
        <version>1.0.0</version>
        <configuration>
            <lifecycleMappingMetadata>
                <pluginExecutions>
                    <!-- copy-dependency plugin -->
                    <pluginExecution>
                        <pluginExecutionFilter>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-dependency-plugin</artifactId>
                            <versionRange>[1.0.0,)</versionRange>
                            <goals>
                                <goal>copy-dependencies</goal>
                            </goals>
                        </pluginExecutionFilter>
                        <action>
                            <ignore />
                        </action>
                    </pluginExecution>
                </pluginExecutions>
            </lifecycleMappingMetadata>
        </configuration>
    </plugin>
   </plugins></pluginManagement>




maven-resources-plugin prior to 2.4 is not supported by m2e. Use maven-resources-plugin version 2.4 or later.

에러시 아래와 같이 처리

  <plugin> 
   
<groupId>org.apache.maven.plugins</groupId> 
   
<artifactId>maven-resources-plugin</artifactId> 
     
<version>2.4</version> 
   
<executions> 
     
<!-- had a process goal here that i removed because it was not compatible --> 
   
</executions> 
 
</plugin> 


반응형

'Know > Java' 카테고리의 다른 글

JDBC 동작 원리  (0) 2013.02.22
Java Troubleshooting Tool - VisualVM  (0) 2013.02.13
Eclipse ERD Plugin  (0) 2011.01.12
Maven local Repository에 custom jar 추가하기  (0) 2010.10.07
Hash  (0) 2009.08.14