I have followed the same document what you mentioned John Reynolds. Could you please elaborate the steps after building plugin.
As of now I was uploading the war file from the plugin folder and facing the issue.
1 person found this helpful
can you check the jar file, unzip it and see if the plugin.xml file is in the jar file?
If it is not the case, there is something wrong with your setup.
Hi Jens Goldhammer
I have extracted the jar file, I found the plugin.xml. Do I need to upload this plugin.xml in plugin tab ?
@Jens Goldhammer Could you please mention the steps how to upload the plugin and which servers do I need to restart ?
Do you have a local setup of Jive in your machine ? If yes then follow this link which has 2 steps to create a plugin : https://community.jivesoftware.com/docs/DOC-111844#jive_content_id_New_plugin_setup
If not then do this hit the command "mvn -U jive:create-plugin" and follow instructions ( make sure you give all lowercase letters, safer )
Once a plugin setup is done..
run the command "mvn clean package" on the plugin root folder to create the jar.
Then, upload the plugin in the Admin-console>System>Plugins screen
After this.. you need to restart the tomcat which is cargo-start, under /web folder of your local project. or if you are deploying it in a development server, please give "jive restart" or "jive stop" and then "Jive start".
Create plugin with all lowercase(artifactID, name etc) ex: helloworld. Just to make sure you don't see the above original issue & others
Parent OR root pom.xml
then in root>web>pom.xml.. have something like below
For the first time, you need to run the "mvn clean package" for the whole project, then delete the crypto keys from the jive core DB(jiveproperty table)
delete from jiveproperty where name in('jive.master.eae.key.node','jive.master.encryption.key.node')
Now you are set to run the eae-start & cargo-start to bring up your server. So for every change in the plugin, just build the plugin alone & restart the cargo-start( you can save the plugin deployment time for every build)