{"id":26601690,"url":"https://github.com/shrhdk/openfire-plugin-example","last_synced_at":"2025-04-09T16:37:55.298Z","repository":{"id":145008422,"uuid":"73544167","full_name":"shrhdk/openfire-plugin-example","owner":"shrhdk","description":"Building the Openfire plugin with Gradle.","archived":false,"fork":false,"pushed_at":"2019-07-04T06:43:34.000Z","size":58,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T18:52:03.856Z","etag":null,"topics":["gradle","openfire","openfire-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shrhdk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-12T09:44:11.000Z","updated_at":"2019-07-04T06:43:35.000Z","dependencies_parsed_at":"2023-04-09T11:00:45.178Z","dependency_job_id":null,"html_url":"https://github.com/shrhdk/openfire-plugin-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrhdk%2Fopenfire-plugin-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrhdk%2Fopenfire-plugin-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrhdk%2Fopenfire-plugin-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shrhdk%2Fopenfire-plugin-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shrhdk","download_url":"https://codeload.github.com/shrhdk/openfire-plugin-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248068522,"owners_count":21042507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gradle","openfire","openfire-plugin"],"created_at":"2025-03-23T18:41:28.136Z","updated_at":"2025-04-09T16:37:55.293Z","avatar_url":"https://github.com/shrhdk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openfire-plugin-example\n\nBuilding the [Openfire plugin](http://download.igniterealtime.org/openfire/docs/latest/documentation/plugin-dev-guide.html) with Gradle.\n\nProject Structure:\n\n```\nopenfire-plugin-example/\n|-- openfire/\n|-- src/\n    |-- main/\n        |-- java/**/*.java\n        |-- resources/\n        |-- database/\n        |-- i18n/\n        |-- web/\n        |-- plugin.xml\n        |-- readme.html\n        |-- changelog.html\n        |-- logo_small.gif\n        |-- logo_large.gif\n```\n\nCheckout this project:\n\n```sh\n$ git clone https://github.com/shrhdk/openfire-plugin-example\n```\n\nDownload and extract [Openfire](https://www.igniterealtime.org/downloads).\n\n```\nopenfire-plugin-example/\n|-- openfire/  \u003c- extracted\n    |-- README.html\n    |-- ...\n```\n\nBuild and deploy this project:\n\n```sh\n$ ./gradlew deployJar\n```\n\nAs a result `example.jar` will be built:\n\n```\nopenfire-plugin-example/\n|-- build/\n    |-- distributions/\n        |-- example.jar  \u003c- built\n```\n\nAnd `example.jar` will be copied to `plugins` directory:\n\n```\nopenfire-plugin-example/\n|-- openfire/\n    |-- plugins/\n        |-- example.jar  \u003c- copied\n```\n\nLaunch Openfire:\n\n```sh\n$ openfire/bin/openfire run\nOpenfire 4.0.3 [Nov 12, 2016 4:44:25 PM]\nAdmin console listening at:\n  http://localhost:9090\n  https://localhost:9091\nExampleComponent initialzie, JID: example.localhost\n\u003ciq type=\"get\" id=\"456-1\" from=\"component.localhost\" to=\"example.localhost\"\u003e\n  \u003cquery xmlns=\"http://jabber.org/protocol/disco#info\"/\u003e\n\u003c/iq\u003e\n```\n\n(**Set up the openfire from admin console (http://localhost:9090) at the firsttime.**)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrhdk%2Fopenfire-plugin-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshrhdk%2Fopenfire-plugin-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshrhdk%2Fopenfire-plugin-example/lists"}