Need to delete a Plugin from the maven repository

26 views
Skip to first unread message

Varun Menon

unread,
Aug 8, 2014, 2:40:56 AM8/8/14
to jenkin...@googlegroups.com
Hi,

Recently I had created a Jenkins plugin named "Test Results Aanlyzer" and got it forked onto the Jenkins repo with name "test-results-analyzer-plugin".
I initially released the plugin with the plugin id: "TestResultsAnalyzer" and after releasing got to know that the Jenkins do the mapping of the plugin id with repo name in github.
I re-released the plugin by changing the plugin-id to "test-results-analyzer".

But now the issue is the update center is showing two entries for the plugin.

Is it possible someone can delete the plugin-id: "TestResultsAnalyzer" from the maven repo and from the update center.

- Varun

Jesse Glick

unread,
Aug 8, 2014, 8:18:57 AM8/8/14
to Jenkins Dev
On Thu, Aug 7, 2014 at 11:40 PM, Varun Menon <mr.varu...@gmail.com> wrote:
> Is it possible someone can delete the plugin-id: "TestResultsAnalyzer" from
> the maven repo and from the update center.

You cannot delete things from a Maven repository, and I do not think
you can delete plugins from the update center either. Anyway someone
might have installed the plugin under its original name. So you are
stuck with both. The best I can think of is to release an update under
the original name that indicates in its display name that it is
deprecated and deletes all its content so it is harmless to have
installed.

Moral: never change a plugin name (artifactId ~ shortName) once
released. (The groupId can be changed if you like.)

Varun Menon

unread,
Aug 13, 2014, 10:22:34 PM8/13/14
to jenkin...@googlegroups.com
Thanks Jesse. I did the same.
The issue happened because jenkins documentation does not talk about the artifact-id to be defined in a way that artifact-id + '-plugin' will get mapped to your repo in Jenkins account.

- Varun



--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/13EcY8t8KLQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jesse Glick

unread,
Aug 18, 2014, 1:05:04 PM8/18/14
to Jenkins Dev
On Wed, Aug 13, 2014 at 10:22 PM, Varun Menon <mr.varu...@gmail.com> wrote:
> jenkins documentation does not talk about the
> artifact-id to be defined in a way that artifact-id + '-plugin' will get
> mapped to your repo in Jenkins account.

Is this is a specific wiki page you are talking about, please edit it
(or suggest an edit).
Reply all
Reply to author
Forward
0 new messages