java.lang.IllegalArgumentException: The repository with ID=snapshots is not valid for ReleaseRemoverTask

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sonatype JIRA by Renato Parente, 1 year ago
The repository with ID=snapshots is not valid for ReleaseRemoverTask
via Sonatype JIRA by Petros Marinos, 1 year ago
The repository with ID=releases is not valid for ReleaseRemoverTask
java.lang.IllegalArgumentException: The repository with ID=snapshots is not valid for ReleaseRemoverTask
at org.sonatype.nexus.maven.tasks.DefaultReleaseRemover.removeReleases(DefaultReleaseRemover.java:115)
at org.sonatype.nexus.maven.tasks.ReleaseRemoverTask.doRun(ReleaseRemoverTask.java:44)
at org.sonatype.nexus.maven.tasks.ReleaseRemoverTask.doRun(ReleaseRemoverTask.java:24)
at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:463)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.