plugin fails to start if version has not patch number in version (only major.minor release)

I made my plugin dummy-plugin-1.0.jar and it was working with release number 1.0 in pom.xml
Then I made some modifications and it was no more enabled.
Then I realized, don't ask me in whch way :), that ONLY changing version in pom.xml from 1.0 to 1.0.0 and rebuilding all, not it's enabled without any problem.

Am I missing something? Why this could happen ? Is this a maven versioning problem ?

Thank you

2 answers

1 accepted

Accepted Answer
0 votes

Let's say that I solved it by myself but I'd like to know if there is a particular reason for which I have to set version in the form of major.minor.patch instead of simply major.minor.

I could not reproduce your problem, changing the pluginversion shouldn be a problem.

Do you mean this property in the pom:

<groupId>...</groupId>
    <artifactId>...</artifactId>
    <version>1.0.0</version>

Try to clear everything (atlas-clean) and install via atlas-cli

Yes, I mean this. Having version 1.0 there is a moment into which a well working plugin is no more enabled at jira server startup. Just changing version from 1.0 to 1.0.0 and rebuilding with atlas-clean and atlas-package all is working again.
I didn't tried to go back to 1.0 version to see what happens

so is this issue solved?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 9 hours ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

149 views 0 5
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