zhangkaitao / es

JavaEE项目开发脚手架(我的公众号:kaitao-1234567,我的新书:《亿级流量网站架构核心技术》)
https://github.com/zhangkaitao/es
Apache License 2.0
2.17k stars 1.59k forks source link

手动下载maven-db-plugin插件到本地仓库 #73

Closed huguangju closed 9 years ago

huguangju commented 9 years ago

尝试过用以下方式,把maven-db-plugin.jar放在WEB-INF/lib目录下,但没有解决,也许写法有问题

<dependency>
    <groupId>com.googlecode</groupId>
    <artifactId>maven-db-plugin</artifactId>
    <version>1.4</version>
    <scope>system</scope>
    <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/maven-db-plugin.jar</systemPath>
</dependency>

62 #63

virtuecai commented 9 years ago

https://github.com/virtuecai/es-czd 将插件源码下载到项目中,

cd %~dp0 cd ../maven-plugins/maven-db-plugin call mvn clean install -pl . -Dmaven.test.skip=true