jar 包添加至 maven repository

1、mvn install:install-file   -Dfile=xxx.jar  -DgroupId=xxx  -DartifactId=xxx -Dversion=xxx  -Dpackaging=jar
           上面的命令解释:
            -Dfile:jar包的位置;
            -DgroupId, -DartifactId,  -Dversion:三个参数,就是指明了存放maven仓库中的位置;
            -Dpackaging :猜测就是指明文件类型;
jar 包添加至 maven repository

2、pom.xml中添加依赖

<dependency>
   <groupId>org.xvolks</groupId>
   <artifactId>jnative</artifactId>
   <version>1.3.2</version>
</dependency>