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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

412 views 79 11
Join discussion

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