Why does installing our Bamboo plugin require a server restart?

When installing one of our in-house developed plugins Bamboo prompts for a server restart in order to complete the installation. According to Atlassian support this shouldn’t be the case. Can anyone help us to avoid the need for a server restart?

A couple of questions based on our observations:

Does extending AbstractStandaloneRepository and implementing CustomSourceDirectoryAwareRepository, BranchInformationProvider force the Universal Plugin Manager to declare a restart is needed when upgrading a plugin?

Can one override the getOpenBranches and collectChangesSinceLastBuild, retrieveSourceCode methods without extending AbstractStandaloneRepository and implementing CustomSourceDirectoryAwareRepository, BranchInformationProvider so that no restart is needed on the upgrade?

This is based on slightly old information. Which version of Bamboo are you working on?

BUT some modules have an annotation on them that causes the bamboo server to require the restart.

We are currently on 6.6.2 on all of our servers. We will be testing 6.10.3 very soon but rolling it out will take a considerable amount of time.