代码拉取完成,页面将自动刷新
# 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"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。