Skip to content

Multiple artifacts with the identical extension and classifier #292

@langsmith

Description

@langsmith

My work is happening at mapbox/mapbox-plugins-android#961 as I try to transition https://github.com/mapbox/mapbox-plugins-android to Bintray publishing with this plugin.

I'm trying to publish various modules as separate library
packages to the same Bintray account. For example, https://bintray.com/mapbox/mapbox/mapbox-android-plugin-building-v8.

For example:

make build-release works fine for building all of the plugins: https://github.com/mapbox/mapbox-plugins-android/blob/ls-moving-release-process-to-bintray/Makefile#L19

But I'm getting the following error, when I run make publish (https://github.com/mapbox/mapbox-plugins-android/blob/ls-moving-release-process-to-bintray/Makefile#L27) :

Execution failed for task ':plugin-annotation:publishMapboxPluginPublicationPublicationToMavenLocal'.
> Failed to publish publication 'MapboxPluginPublication' to repository 'mavenLocal'
   > Invalid publication 'MapboxPluginPublication': multiple artifacts with the identical extension and classifier ('jar', 'sources').

Screen Shot 2019-07-25 at 11 02 05 AM

At one point, my pr was set up in a certain way to create the package page on Bintray for the various plugins that I'm trying to publish.

However, when you click on a specific release, it doesn't have any files in it:

I tried searching for multiple artifacts with the identical extension and classifier on Google, but haven't found anything very useful.

Do I need multiple MavenPublications rather than just one in gradle/gradle-bintray.gradle?

https://github.com/bintray/gradle-bintray-plugin/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+multiple didn't show any tickets that were about my current questions and issues.

Anyone able to provide any advice? @eyalbe4?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions