1.下载mav安装 下载免安装版上传linux cd /opt/maven mkdir repository cd apche-maven-3.3.9/conf vi settings.xml 设置仓库地址 <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributo
安装过程遇到2个问题 1.java版本不对 2.Error: JAVA_HOME is not defined correctly. We cannot execute $/usr/libexec/java_home/bin/java 解决方案: 1.解决方法 /usr/libexec/java_home/bin/java 2. Error: JAVA_HOME is not defined correctly. We cannot execute $/usr/libexec/java_home