A Plugin has to be constructed in exactly the right way to allow installation - there are several places where data is unavoidably replcated.
Currently there is no way to automatically ensure that the build will be correct, so this page provides a check list
Check that the dependency versions are non SNAPSHOT.
Note that for various javadoc reasons the java-parent project defines version properties for java-support, opensaml and spring-extensions, so you will only need to add these if you are depending on a currently unreleased version. At time of release these should be removed and the parent pom version matched to the ones used to build the idp (assuming that the parent pom has been moved forward). |
src/main/resources/bootstrap/idp.property
exists and defines a propery pluginId
which must be the same as the value returned by #getPluginId()
in the Dwescriptionsrc/main/resources/bootstrap/keys.txt
contains the public key for corresponding to the private key you are going to sign the package with (see PluginTrustsrc/main/resources/bootstrap/doc/....
Ensure that getUpdateURLs()
returns a non-empty list of https URLs pointing to property files that you have write permission for
A source control system with a web front end works very well |
Build in the usual manner and upload the version to a website. Maven works well
supportLevel
of the old version appropriately. Levels are defined in net.shibboleth.idp.plugin.PluginSupport.SupportLevel
(in idp module idp=admin-api} and currently consist ofCurrent
OutOfDate
Unsupported
Secadv
Withdrawn
downloadURL
and baseName
information about the new release.idpVersionMin
for the new release will usually be the version of the IdP that that version of the plugin was built against.An example file is available here
net.shibboleth.idp.plugin.nashorn.versions=0.1.0 0.1.1 # # NASHORN # 0.1.0 # net.shibboleth.idp.plugin.nashorn.idpVersionMax.0.1.0=5.0.0 net.shibboleth.idp.plugin.nashorn.idpVersionMin.0.1.0=4.1.0 net.shibboleth.idp.plugin.nashorn.supportLevel.0.1.0 = OutOfDate net.shibboleth.idp.plugin.nashorn.downloadURL.0.1.0 = https://build.shibboleth.net/nexus/service/local/repositories/releases/content/net/shibboleth/idp/plugin/scripting/idp-plugin-nashorn-dist/0.1.0 net.shibboleth.idp.plugin.nashorn.baseName.0.1.0 = idp-plugin-nashorn-dist-0.1.0 # # 0.1.1 # net.shibboleth.idp.plugin.nashorn.idpVersionMax.0.1.1=5.0.0 net.shibboleth.idp.plugin.nashorn.idpVersionMin.0.1.1=4.1.0 net.shibboleth.idp.plugin.nashorn.supportLevel.0.1.1 = Current |