3 Star 17 Fork 4

侯创_Tony/milky

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
deploy 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
侯创_Tony 提交于 2024-06-22 07:16 . delete Base Aspect
# compile one module, -pl --projects
mvn clean compile -pl demo/starter
# -am also make
mvn clean compile -am -pl demo/starter
#-D define property test => unit test class failIfNoTest make empty tests also worked
mvn clean test -am -Dtest=BasicTest -pl demo/starter -DfailIfNoTests=false
# in linux or macOs the quotation is not necessary, but windows, garbage
mvn clean install '-DskipTests' '-Dgpg.skip'
mvn clean deploy '-DskipTests' '-Dgpg.skip'
mvn clean deploy "-DskipTests"
mvn clean install '-Dmaven.test.skip=true'
mvn dependency:copy-dependencies "-DexcludeGroupIds=com.stellariver.milky.demo"
1. mvn clean install '-DskipTests' '-Dgpg.skip' 刷新milky依赖到本地库
2. cd demo/starter & mvn dependency:copy-dependencies "-DexcludeGroupIds=com.stellariver.milky.demo"
3. 上传 demo/target ---> 服务器/bin目录,上传 demo/starter/dependency ---> dependency 目录
git config --global http.proxy 'socks5://127.0.0.1:23456'
git config --global https.proxy 'socks5://127.0.0.1:23456'
mvn clean test "-Dsurefire.failIfNoSpecifiedTests=false" "-Dtest=com.stellariver.milky.demo.AspectTest#testFullTextHandler"
mvn clean test "-Dsurefire.failIfNoSpecifiedTests=false" "-Dtest=com.stellariver.milky.demo.AspectJTest#testParamValid"
mvn clean test "-Dsurefire.failIfNoSpecifiedTests=false" "-Dtest=com.stellariver.milky.demo.BasicTest#publishItemDOTest"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/chuanghou/milky.git
git@gitee.com:chuanghou/milky.git
chuanghou
milky
milky
main

搜索帮助