Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Skipping upload for missing file pom-default #96

Closed
WaiLynnZaw opened this issue Sep 26, 2016 · 4 comments · Fixed by #160
Closed

Skipping upload for missing file pom-default #96

WaiLynnZaw opened this issue Sep 26, 2016 · 4 comments · Fixed by #160

Comments

@WaiLynnZaw
Copy link

WaiLynnZaw commented Sep 26, 2016

I tried as described in https://github.com/novoda/bintray-release/wiki/Add-support-for-syncing-to-maven-central and as in issue #19

but still get Skipping upload for missing file pom-default.xml

I solved this issue by running -
./gradlew clean build generatePomFileForMavenPublication bintrayUpload -PbintrayUser=<BINTRAY_USER> -PbintrayKey=<BINTRAY_KEY> -PdryRun=false

@xrigau
Copy link
Contributor

xrigau commented Sep 26, 2016

Thanks for the info @WaiLynnZaw 👍

@yilylong
Copy link

i got "Task 'generatePomFileForMavenPublication' not found in root project 'xxx' "

@kkmike999
Copy link

@yilylong

try generatePomFileForReleasePublication or publishReleasePublicationToMavenLocal.

The full commend is:

./gradlew clean build generatePomFileForReleasePublicationbintrayUpload -PbintrayUser=<BINTRAY_USER> -PbintrayKey=<BINTRAY_KEY> -PdryRun=false

@houxiaohu
Copy link

@yilylong how did you solve it ""Task 'generatePomFileForMavenPublication' not found in root project 'xxx' ""

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants