Maven将远程包拉去到项目指定路径

<build>
        <plugins>
            <plugin>
                <artifactId>maven-dependency-plugin</artifactId>
                <configuration>
                    <excludeTransitive>false</excludeTransitive>
                    <stripVersion>true</stripVersion>
                    <outputDirectory>./WebContent/WEB-INF/lib/</outputDirectory>
                </configuration>

            </plugin>
        </plugins>
</build>
mvn dependency:copy-dependencies

  

posted @ 2019-01-02 11:37  Jachs  阅读(270)  评论(0编辑  收藏  举报