윤OSes2009.02.05 00:01
음... 우분투의 저장소에 maven2 가 있을 줄이야;;

아파치에서 메이븐을 받아서 압축 풀어주고..

mvn -version 을 했더니;;..

helols@helols-shine:/opt/maven/bin$ mvn -version
'mvn' 프로그램은 현재 설치되어 있지 않습니다.  다음을 입력하여 이를 설치할 수 있습니다:
sudo apt-get install maven2
bash: mvn: command not found

이런다;;

뭐 그래서 혹시나 해서 sudo apt-get install maven2쳤더니... 
꾸러미 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다      
상태 정보를 읽는 중입니다... 완료
다음 새 꾸러미가 전에 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  wine-gecko ttf-liberation winbind
이들을 지우기 위해서는 'apt-get autoremove'를 사용하십시오.
다음 꾸러미를 더 설치할 것입니다:
  ant ant-gcj ant-optional ant-optional-gcj antlr gcj-4.3-base libantlr-java
  libantlr-java-gcj libbcel-java libclassworlds-java libcommons-cli-java
  libcommons-codec-java libcommons-collections-java libcommons-httpclient-java
  libcommons-lang-java libcommons-logging-java libcommons-net-java
  libcommons-openpgp-java libdoxia-java libganymed-ssh2-java libgcj-bc
  libgcj-common libgcj9-0 libgcj9-jar libjaxp1.3-java libjaxp1.3-java-gcj
  libjdom0-java libjsch-java libjtidy-java liblogkit-java liboro-java
  libplexus-classworlds-java libplexus-component-api-java
  libplexus-container-default-java libplexus-interactivity-api-java
  libplexus-utils-java libplexus-velocity-java libregexp-java
  libservlet2.3-java libslide-webdavclient-java libwagon-java
  libwerken.xpath-java libxalan2-java libxalan2-java-gcj libxerces2-java
  libxerces2-java-gcj velocity
제안하는 꾸러미:
  ant-doc libbsf-java junit liblog4j1.2-java jython libjdepend-java
  libgnumail-java libxml-commons-resolver1.1-java javacc libbcel-java-doc
  libclassworlds-java-doc libcommons-httpclient-java-doc
  libavalon-framework-java libcommons-openpgp-java-doc libdoxia-java-doc
  libgcj9-dbg libgcj9-0-awt libjtidy-java-doc libplexus-classworlds-java-doc
  libplexus-component-api-java-doc libplexus-container-default-java-doc
  libplexus-interactivity-api-java-doc libplexus-utils-java-doc
  libplexus-velocity-java-doc libwagon-java-doc libxalan2-java-doc
  libxsltc-java libxerces2-java-doc velocity-doc
다음 새 꾸러미를 설치할 것입니다:
  ant ant-gcj ant-optional ant-optional-gcj antlr gcj-4.3-base libantlr-java
  libantlr-java-gcj libbcel-java libclassworlds-java libcommons-cli-java
  libcommons-codec-java libcommons-collections-java libcommons-httpclient-java
  libcommons-lang-java libcommons-logging-java libcommons-net-java
  libcommons-openpgp-java libdoxia-java libganymed-ssh2-java libgcj-bc
  libgcj-common libgcj9-0 libgcj9-jar libjaxp1.3-java libjaxp1.3-java-gcj
  libjdom0-java libjsch-java libjtidy-java liblogkit-java liboro-java
  libplexus-classworlds-java libplexus-component-api-java
  libplexus-container-default-java libplexus-interactivity-api-java
  libplexus-utils-java libplexus-velocity-java libregexp-java
  libservlet2.3-java libslide-webdavclient-java libwagon-java
  libwerken.xpath-java libxalan2-java libxalan2-java-gcj libxerces2-java
  libxerces2-java-gcj maven2 velocity
0개 업그레이드, 48개 새로 설치, 0개 지우기 및 0개
머가 많긴 하지만 깔아 봤다...

helols@helols-shine:/opt/maven/bin$ mvn -version
Maven version: 2.0.9
Java version: 1.6.0_10
OS name: "linux" version: "2.6.27.2" arch: "i386" Family: "unix"
helols@helols-shine:/opt/maven/bin$ ls
m2  m2.bat  m2.conf  mvn  mvn.bat  mvnDebug  mvnDebug.bat
helols@helols-shine:/opt/maven/bin$ ./mvn -version
Maven version: 2.0.9
Java version: 1.6.0_10
OS name: "linux" version: "2.6.27.2" arch: "i386" Family: "unix"
결과는 최신 버전 2.0.9 였네;; ㅡㅡ; 흠...

멋찌삼... 우분투~~~m2eclipse 설치 하러가야 겠다;;

 http://m2eclipse.sonatype.org/update/ 
Posted by is윤군

댓글을 달아 주세요