# Hosting Gradle Plugins - Nexus is removing files randomly

**URL:** <https://community.sonatype.com/t/hosting-gradle-plugins-nexus-is-removing-files-randomly/13756>\
**Category:** Sonatype Nexus Repository\
**Tags:** integrations, nexus-repository\
**Created:** [October 30, 2024, 3:40pm UTC](https://community.sonatype.com/t/hosting-gradle-plugins-nexus-is-removing-files-randomly/13756 "2024-10-30T15:40:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mareksierocinski](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/mareksierocinski/32/1474_2.png) [@mareksierocinski](https://community.sonatype.com/u/mareksierocinski)\
**Post date:** [October 30, 2024, 3:40pm UTC](https://community.sonatype.com/t/hosting-gradle-plugins-nexus-is-removing-files-randomly/13756/1 "2024-10-30T15:40:17Z")

</div>

Hello,  
I’m using Nexus OSS 3.68.1-02. I have created a maven-type hosted repository, to which I’m publishing my custom Gradle plugins.  
Gradle is a bit “special”. Let’s say that you my plugin is in group “org.foo”, with name “bar” and version “1.2.3”. Normally Maven would publish packages like this:

```auto
org / foo / bar / 1.2.3 / bar-1.2.3.jar
org / foo / bar / 1.2.3 / bar-1.2.3.module
org / foo / bar / 1.2.3 / bar-1.2.3.pom
org / foo / bar / maven-metadata.xml

```

But if you publish Gradle plugin it looks like this:

```auto
org / foo / bar / 1.2.3 / bar-1.2.3.jar
org / foo / bar / 1.2.3 / bar-1.2.3.module
org / foo / bar / 1.2.3 / bar-1.2.3.pom
org / foo / bar / org.foo.bar.gradle.plugin / 1.2.3 / org.foo.bar.gradle.plugin-1.2.3.pom
org / foo / bar / org.foo.bar.gradle.plugin / maven-metadata.xml
org / foo / bar / maven-metadata.xml

```

And the strangest thing is that after some time (I cannot tell exactly when, because sometime is like days, other times is weeks or even months) the path `org / foo / bar / org.foo.bar.gradle.plugin` disappears! Just like that! Nothing in logs. Oh, and there is no cleanup policy set up on this repository.

Is it known issue?

---

_[View the full topic](https://community.sonatype.com/t/hosting-gradle-plugins-nexus-is-removing-files-randomly/13756)._
