OpenVirtex安装

环境

我使用的java以及maven版本如下:

安装完maven需要将源修改为国内的,这里选阿里和华为的,体验飞一样的感觉。

  1. 输入mvn -v查看文件路径
  2. cd /opt/maven/apache-maven-3.6.2/conf
  3. sudo gedit settings.xml
  4. 在文件中找到<mirrors></mirrors>加上以下内容
    <!--配置阿里云Maven镜像-->
     <mirror>
        <id>nexus-aliyun</id>
        <mirrorOf>central</mirrorOf>
        <name>Nexus aliyun</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public</url>
    </mirror>
     <!--配置华为云Maven镜像-->
    <mirror>
        <id>huaweicloud</id>
        <mirrorOf>*</mirrorOf>
        <url>https://mirrors.huaweicloud.com/repository/maven/</url>
    </mirror>

如图所示

安装

  1. git clone https://github.com/os-libera/OpenVirteX
  2. cd OpenVirtex
  3. sudo gedit pom.xml
    在文件里找到findbugs-plugin.version,将版本改为3.0.4
  4. sh ./compile.sh
原文地址:https://www.cnblogs.com/multhree/p/11728986.html