Monday, August 31, 2015

Maven

  1. 2015.08.12
    1. install maven using yum
      1. wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
      2. yum -y install apache-maven
    2. installation
      1. echo $JAVA_HOME
      2. cd /opt
      3. wget http://apache.tt.co.kr/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.zip
      4. wget http://www.apache.org/dist/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.zip.asc
      5. wget http://www.apache.org/dist/maven/KEYS
      6. gpg --import KEYS
      7. gpg --verify apache-maven-3.3.3-bin.zip.asc apache-maven-3.3.3-bin.zip
      8. unzip apache-maven-3.3.3-bin.zip
      9. export PATH=/opt/apache-maven-3.3.3/bin:$PATH
      10. mvn -v

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.