우분투16 메이븐 설치

  다른 뜻에 대해서는 우분투14 메이븐 설치 문서를 참조하십시오.
우분투16 메이븐 설치
우분투16 Maven 설치
우분투16 mvn 설치

1 확인[ | ]

root@zetawiki:~# mvn -v
-bash: mvn: command not found
root@zetawiki:~# apt list maven
Listing... Done
maven/xenial,xenial 3.3.9-3 all

2 설치[ | ]

root@zetawiki:~# apt install maven
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  ant ant-optional ca-certificates-java default-jre-headless java-common junit junit4
  libaopalliance-java libapache-pom-java libasm4-java libatinject-jsr330-api-java
  libbsh-java libcdi-api-java libcglib3-java libclassworlds-java libcommons-cli-java
  libcommons-codec-java libcommons-httpclient-java libcommons-io-java
  libcommons-lang-java libcommons-lang3-java libcommons-logging-java libcommons-net-java
  libcommons-net2-java libcommons-parent-java libdom4j-java libdoxia-core-java
  libeasymock-java libeclipse-aether-java libgeronimo-interceptor-3.0-spec-java
  libguava-java libguice-java libhamcrest-java libhttpclient-java libhttpcore-java
  libjaxen-java libjaxp1.3-java libjdom1-java libjetty-java libjsch-java libjsoup-java
  libjsr305-java liblog4j1.2-java libmaven-parent-java libmaven2-core-java
  libmaven3-core-java libnspr4 libnss3 libnss3-nssdb libobjenesis-java libpcsclite1
  libplexus-ant-factory-java libplexus-archiver-java libplexus-bsh-factory-java
  libplexus-cipher-java libplexus-classworlds-java libplexus-classworlds2-java
  libplexus-cli-java libplexus-component-annotations-java
  libplexus-component-metadata-java libplexus-container-default-java
  libplexus-container-default1.5-java libplexus-containers-java
  libplexus-containers1.5-java libplexus-interactivity-api-java
  libplexus-interpolation-java libplexus-io-java libplexus-sec-dispatcher-java
  libplexus-utils-java libplexus-utils2-java libqdox2-java libservlet2.5-java
  libservlet3.1-java libsisu-inject-java libsisu-plexus-java libslf4j-java libwagon-java
  libwagon2-java libxalan2-java libxbean-java libxerces2-java libxi6
  libxml-commons-external-java libxml-commons-resolver1.1-java libxom-java libxpp2-java
  libxpp3-java libxtst6 openjdk-8-jre-headless x11-common
Suggested packages:
  ant-doc ant-gcj default-jdk | java-compiler | java-sdk ant-optional-gcj antlr javacc
  jython libbcel-java libbsf-java libgnumail-java libjdepend-java liboro-java
  libregexp-java default-jre junit-doc libaopalliance-java-doc
  libatinject-jsr330-api-java-doc libclassworlds-java-doc libcommons-httpclient-java-doc
  libcommons-io-java-doc libcommons-lang-java-doc libcommons-lang3-java-doc
  libavalon-framework-java libcommons-logging-java-doc libexcalibur-logkit-java
  libcommons-net-java-doc libcommons-net2-java-doc libdom4j-java-doc libeasymock-java-doc
  libcglib-java libjaxp1.3-java-gcj libjdom1-java-doc jetty libjetty-java-doc
  libjsoup-java-doc libjsr305-java-doc liblog4j1.2-java-doc libobjenesis-java-doc pcscd
  libplexus-cipher-java-doc libplexus-classworlds-java-doc
  libplexus-classworlds2-java-doc libplexus-cli-java-doc
  libplexus-container-default-java-doc libplexus-interactivity-api-java-doc
  libplexus-interpolation-java-doc libplexus-sec-dispatcher-java-doc
  libplexus-utils-java-doc libplexus-utils2-java-doc libqdox2-java-doc testng
  libwagon-java-doc libxalan2-java-doc libxsltc-java groovy2 libequinox-osgi-java
  libosgi-compendium-java libosgi-core-java libqdox-java libspring-beans-java
  libspring-context-java libspring-core-java libspring-web-java libxerces2-java-doc
  libxerces2-java-gcj libxml-commons-resolver1.1-java-doc libxom-java-doc
  openjdk-8-jre-jamvm libnss-mdns fonts-dejavu-extra fonts-ipafont-gothic
  fonts-ipafont-mincho ttf-wqy-microhei | ttf-wqy-zenhei fonts-indic
The following NEW packages will be installed:
  ant ant-optional ca-certificates-java default-jre-headless java-common junit junit4
  libaopalliance-java libapache-pom-java libasm4-java libatinject-jsr330-api-java
  libbsh-java libcdi-api-java libcglib3-java libclassworlds-java libcommons-cli-java
  libcommons-codec-java libcommons-httpclient-java libcommons-io-java
  libcommons-lang-java libcommons-lang3-java libcommons-logging-java libcommons-net-java
  libcommons-net2-java libcommons-parent-java libdom4j-java libdoxia-core-java
  libeasymock-java libeclipse-aether-java libgeronimo-interceptor-3.0-spec-java
  libguava-java libguice-java libhamcrest-java libhttpclient-java libhttpcore-java
  libjaxen-java libjaxp1.3-java libjdom1-java libjetty-java libjsch-java libjsoup-java
  libjsr305-java liblog4j1.2-java libmaven-parent-java libmaven2-core-java
  libmaven3-core-java libnspr4 libnss3 libnss3-nssdb libobjenesis-java libpcsclite1
  libplexus-ant-factory-java libplexus-archiver-java libplexus-bsh-factory-java
  libplexus-cipher-java libplexus-classworlds-java libplexus-classworlds2-java
  libplexus-cli-java libplexus-component-annotations-java
  libplexus-component-metadata-java libplexus-container-default-java
  libplexus-container-default1.5-java libplexus-containers-java
  libplexus-containers1.5-java libplexus-interactivity-api-java
  libplexus-interpolation-java libplexus-io-java libplexus-sec-dispatcher-java
  libplexus-utils-java libplexus-utils2-java libqdox2-java libservlet2.5-java
  libservlet3.1-java libsisu-inject-java libsisu-plexus-java libslf4j-java libwagon-java
  libwagon2-java libxalan2-java libxbean-java libxerces2-java libxi6
  libxml-commons-external-java libxml-commons-resolver1.1-java libxom-java libxpp2-java
  libxpp3-java libxtst6 maven openjdk-8-jre-headless x11-common
0 upgraded, 91 newly installed, 0 to remove and 23 not upgraded.
Need to get 56.4 MB of archives.
After this operation, 144 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 x11-common all 1:7.7+13ubuntu3 [22.4 kB]
Get:2 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 libxtst6 amd64 2:1.2.2-1 [14.1 kB]
Get:3 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 java-common all 0.56ubuntu2 [7,742 B]
... (생략)
Setting up maven (3.3.9-3) ...#########################################################] 
update-alternatives: using /usr/share/maven/bin/mvn to provide /usr/bin/mvn (mvn) in auto mode
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Processing triggers for ca-certificates (20160104ubuntu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

done.
done.

3 확인 2[ | ]

root@zetawiki:~# mvn -v
Warning: JAVA_HOME environment variable is not set.
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-78-generic", arch: "amd64", family: "unix"

4 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}