How are *.hpi and *.jpi plugins different?
For example, when I install github-branch-source-plugin from my Jenkins instance, it installs *.jpi plugin (that is what i find under /var/jenkins_home/plugins). And when I clone the source code of the same plugin and I run 'mvn install', I get a *.hpi plugin generated.
A quick search a found 3 relevant points:
One mailing list discussion says - "When you start up any Jenkins after something like 1.5xx then it will automatically rename all .hpi files to .jpi "
Another says - "Jenkins core 1.449 won't allow installing hpi plugins anymore"
One stackoverflow answer says - "In terms of technology, the jpi plugins are generated using the gradle plugin architecture and hpi plugins are generated with the Maven architecture"
Can someone shed some light on this? Which of the above theories is acceptable?