首页 > 解决方案 > Pipelines:mavenLocal 位于 Pipelines 的什么位置?

问题描述

网站上的信息是 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.

标签: androidgradlecontinuous-integrationbitbucketbitbucket-pipelines

解决方案


推荐阅读