사용자 도구

사이트 도구


java:maven:clean

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
java:maven:clean [2012/05/25 11:54]
kwon37xi [target은 남겨두고 그 이하 디렉토리와 파일은 완전 삭제하게 하기]
java:maven:clean [2012/05/25 11:56] (현재)
kwon37xi
줄 3: 줄 3:
  
 ===== target은 남겨두고 그 이하 디렉토리와 파일은 완전 삭제하게 하기 ===== ===== target은 남겨두고 그 이하 디렉토리와 파일은 완전 삭제하게 하기 =====
-  * https://github.com/YA2O/Eclipse_Plugin_Target_Derivator 면 아래 기능 불필요함.+  * https://github.com/YA2O/Eclipse_Plugin_Target_Derivator Eclipse Plugin을 사용하면 Mave Clean Plugin 조작은 불필요함
 +  * Multi Module Project일 경우, Eclipse는 최상위 부모 프로젝트의 하위에 존재하는 target과 각 모듈의 target이 실제적으로는 물리적으로 동일한 디렉토리를 가리키지만 Derived 설정은 따로 유지하려 들게 된다. 이 때 부모 프로젝트의 target 은 
 +    * 부모 프로젝트 Properties -> Resource -> Resource Filters -> Add로 가서 
 +    * **Exclude All/ Folders / All children** 세 가지에 체크하고 이름 Name matches **target** 을 지정한다. 
 +    * 이제 부모 프로젝트의 target은 아예 목록에서 안보이고, 리소스 열기에서도 안나오게 된다.
   * [[http://stackoverflow.com/questions/283489/is-there-a-way-to-hide-maven-2-target-folder-in-eclipse-3|java - Is there a way to hide Maven 2 "target/" folder in Eclipse 3? - Stack Overflow]] 참조   * [[http://stackoverflow.com/questions/283489/is-there-a-way-to-hide-maven-2-target-folder-in-eclipse-3|java - Is there a way to hide Maven 2 "target/" folder in Eclipse 3? - Stack Overflow]] 참조
   * 이 기능이 필요한 이유는 Eclipse에서 [[http://maven.apache.org/plugins/maven-eclipse-plugin/|Maven Eclipse Plugin]]으로 프로젝트를 관리하면서 ''Ctrl+Shfit+R'' 로 리소스 열기를 할 때 target 디렉토리 아래의 파일들이 자꾸 목록에 나오기 때문이다.   * 이 기능이 필요한 이유는 Eclipse에서 [[http://maven.apache.org/plugins/maven-eclipse-plugin/|Maven Eclipse Plugin]]으로 프로젝트를 관리하면서 ''Ctrl+Shfit+R'' 로 리소스 열기를 할 때 target 디렉토리 아래의 파일들이 자꾸 목록에 나오기 때문이다.
줄 30: 줄 34:
 </build> </build>
 </code> </code>
-  * Multi Module Project일 경우, Eclipse는 최상위 부모 프로젝트의 하위에 존재하는 target과 각 모듈의 target이 실제적으로는 물리적으로 동일한 디렉토리를 가리키지만 Derived 설정은 따로 유지하려 들게 된다. 이 때 부모 프로젝트의 target 은 
-    * 부모 프로젝트 Properties -> Resource -> Resource Filters -> Add로 가서 
-    * Exclude All/ Folders / All children 세 가지에 체크하고 이름 Name matches *target* 을 지정한다. 
-    * 이제 부모 프로젝트의 target은 아예 목록에서 안보이고, 리소스 열기에서도 안나오게 된다. 
java/maven/clean.1337914473.txt.gz · 마지막으로 수정됨: 2012/05/25 11:54 저자 kwon37xi