반응형

해결책 : www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html

 

M2Eclipse | Execution Not Covered

M2Eclipse 0.12 and earlier executed some parts of Maven build lifecycle inside Eclipse and then configured the Eclipse project based on after-execution state collected in MavenProject. This was controlled by many different sets of maven goals – goals whe

www.eclipse.org

 

환경설정 -> Maven -> Lifecycle Mapping

- Open workspace lifecycle mapping metadata  클릭.

xml 내용 추가.

<lifecycleMappingMetadata>
	<pluginExecutions>

		<!--
        에러가 발생하는 플러그인 위치를 작성한다.
		plugin
		 - groupId : org.codehaus.mojo
		 - artifactId : buildnumber-maven-plugin 
		   - execution
		     - goal : create-timestamp
		-->
		<pluginExecution>
			<pluginExecutionFilter>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>buildnumber-maven-plugin</artifactId>
				<versionRange>[1.0.0,)</versionRange>
				<goals>
					<goal>create-timestamp</goal>
				</goals>
			</pluginExecutionFilter>
			<action>
				<ignore />
			</action>
		</pluginExecution>
        
        ....
        
        <pluginExecution>
        ....
        </pluginExecution>
        
	</pluginExecutions>
</lifecycleMappingMetadata>

 

반응형

'프로그래밍' 카테고리의 다른 글

[git] error: src refspec master does not match any  (0) 2023.07.05
[JSTL] 조건식 eq, ne, empty  (0) 2016.12.07
인코딩  (0) 2014.03.24
[svn] 사용자 추가  (2) 2011.02.15

+ Recent posts