Eclipse Maven 플러그인... 흐흠...
이클립스에서 사용하는 메이븐 플러그인은 Sonatype 에서 만든 m2eclipse 플러그인과 이클립스 공식 플러그인으로 합쳐진 m2e 플러그인이 있습니다.
어차피 둘 다 태생이 같기 때문에 사용법이나 다른 큰 문제는 없으나, 프로젝트 시에는 문제가 될 수 있습니다.
[프로젝트 홈]/.project
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>vicki-common</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
org.maven.ide.eclipse.maven2Nature 는 이전의 sonatype 에서 제공했던 메이븐 플러그인 네이처이며, org.eclipse.m2e.core.maven2Nature 는 eclipse 에 통합된 m2e 플러그인 네이처입니다.
SI가 아닌 이상 각자 자신의 개발환경을 셋팅할 것이고, 이전의 개발환경을 가지고 있는 사람과 새로 개발환경을 셋팅한 사람 모두를 아우르기 위해서는 위와 같은 설정이 필요합니다.
댓글
댓글 쓰기