maven找不到lib解决方法

mvn install:install-file -Dfile=F:\comm\youboy\java_memcached-release_2.6.6\java_memcached-release_2.6.6.jar -DpomFile=F:\comm\youboy\java_memcached-release_2.6.6\pom.xml
//
然后再在本地mav库的地址改下D:\repository2\com\danga\com.danga.memcached\2.6.6
<dependency>
            <groupId>com.danga</groupId>
            <artifactId>com.danga.memcached</artifactId>
            <version>2.6.6</version>
        </dependency>


mvn install:install-file -Dfile=E:\comm\youboy\java_memcached-release_2.6.6\java_memcached-release_2.6.6.jar -DpomFile=E:\comm\youboy\java_memcached-release_2.6.6\pom.xml
E:\comm\youboy\java_memcached-release_2.6.6
//不能太长路径

你可能感兴趣的:(maven)