Rename servlet plugin?

I have created a servlet plugin module and then I want to change its name. But the atlassian-plugin.xml does not update the class name automaticly.

Manually changing the class name works. But is there some side effect?

2 answers

Hi,

there are two scenarios

1)you want to rename "Servlet plugin name" go to pom.xml change <artifactId>new servlet plugin name</artifactId>

<name>new name</name>

once you compile in this way you could see change your servlet plugin name.

2) you want to rename the specific class- Make appropreate changes in the class first change class name.

replace entry with new class in the atlassian-plugin.xml.you can see internaly class change but you can-not view it.

Changing the class name in atlassian-plugin.xml wont update the class name automatically .

I dont think it will cuase any side effect .

I hope you have renamed the class name wherever it was earlier being used.

Is there a way to remove a module?

You will have to remove it from the atlassian-plugin.xml . You can also disable it after you install the plugin . What are you trying to do ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,405 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you