管道:mavenLocal在管道上的什么位置?

时间:2019-02-04 12:50:23

标签: android gradle continuous-integration bitbucket bitbucket-pipelines

the site上的信息是mavenLocal位于

  

Linux / Mac:〜/ .m2

但是当我尝试在管道上执行命令

#Make publish lib to mavenLocal
./gradlew mylib:publishToMavenLocal
#Trying to zip results of publishToMavenLocal command
tar -czvf mavenLocal.tar.gz -C ~/.m2

错误是

+ tar -czvf mavenLocal.tar.gz -C ~/.m2
tar: Cowardly refusing to create an empty archive
Try 'tar --help' or 'tar --usage' for more information.

0 个答案:

没有答案