# Plugin cannot be published due to 'exists already' error

**URL:** <https://discuss.gradle.org/t/plugin-cannot-be-published-due-to-exists-already-error/29911>\
**Category:** Help/Discuss\
**Created:** [December 18, 2018, 2:34pm UTC](https://discuss.gradle.org/t/plugin-cannot-be-published-due-to-exists-already-error/29911 "2018-12-18T14:34:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KengoTODA](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/kengotoda/32/5842_2.png) [@KengoTODA](https://discuss.gradle.org/u/KengoTODA)\
**Post date:** [December 18, 2018, 2:34pm UTC](https://discuss.gradle.org/t/plugin-cannot-be-published-due-to-exists-already-error/29911/1 "2018-12-18T14:34:56Z")

</div>

Hello, today I tried to publish [spotbugs plugin](https://plugins.gradle.org/plugin/com.github.spotbugs) but it failed. Here is its error message:

```gradle
Failed to post to server.
Server responded with:
Plugin: 'com.github.spotbugs', version: '1.6.7' exists already. It was created: 2017-05-16 13:43:18.304

```

But actually we have no 1.6.7 version in the past. [Plugin page](https://plugins.gradle.org/plugin/com.github.spotbugs) also does not list it.

Please kindly help me to find the way to release our plugin. Here is [the build scan page](https://scans.gradle.com/s/qh2doagaxn6z2/) of my build, please check. Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![marcphilipp](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/marcphilipp/32/6864_2.png) [@marcphilipp](https://discuss.gradle.org/u/marcphilipp)\
**Post date:** [December 19, 2018, 4:30pm UTC](https://discuss.gradle.org/t/plugin-cannot-be-published-due-to-exists-already-error/29911/2 "2018-12-19T16:30:16Z")

</div>

Did you cancel the initial build that published it? It looks like the version was uploaded but never activated which would happen if you cancel the publishPlugins task in-flight. Could you release 1.6.8 instead?

---

<div class="post-metadata">

**Author:** ![KengoTODA](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/kengotoda/32/5842_2.png) [@KengoTODA](https://discuss.gradle.org/u/KengoTODA)\
**Post date:** [December 21, 2018, 2:32am UTC](https://discuss.gradle.org/t/plugin-cannot-be-published-due-to-exists-already-error/29911/3 "2018-12-21T02:32:08Z")

</div>

Thanks for your reply!

Well I don’t think we did so; according to log `It was created: 2017-05-16 13:43:18.304`.

Anyway I will try to release 1.6.8, thanks for your comment!

---

<div class="post-metadata">

**Author:** ![KengoTODA](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/kengotoda/32/5842_2.png) [@KengoTODA](https://discuss.gradle.org/u/KengoTODA)\
**Post date:** [December 21, 2018, 5:08am UTC](https://discuss.gradle.org/t/plugin-cannot-be-published-due-to-exists-already-error/29911/4 "2018-12-21T05:08:13Z")

</div>

Confirmed that 1.6.8 has been deployed successfully. Thanks for your support!
