Maven将依赖包手动导入到本地

pom.xml配置:

  

 <dependency>
    <groupId>com.xuanwu</groupId>
    <artifactId>sqlmapper</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <type>jar</type>
    <scope>compile</scope>
   </dependency>

 

mvn install:install-file -Dfile=repo/xuanwu/sqlmapper.jar -DgroupId=com.xuanwu -DartifactId=sqlmapper -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar

 

 

 

你可能感兴趣的:(maven)