{"id":15816177,"url":"https://github.com/casualjim/sbt-jelastic-deploy","last_synced_at":"2025-05-07T23:39:42.730Z","repository":{"id":66287099,"uuid":"5382074","full_name":"casualjim/sbt-jelastic-deploy","owner":"casualjim","description":null,"archived":false,"fork":false,"pushed_at":"2014-03-03T18:23:41.000Z","size":202,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T23:39:36.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/casualjim.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}},"created_at":"2012-08-11T18:05:09.000Z","updated_at":"2014-11-11T19:52:51.000Z","dependencies_parsed_at":"2023-02-20T01:45:17.727Z","dependency_job_id":null,"html_url":"https://github.com/casualjim/sbt-jelastic-deploy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casualjim%2Fsbt-jelastic-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casualjim%2Fsbt-jelastic-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casualjim%2Fsbt-jelastic-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casualjim%2Fsbt-jelastic-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casualjim","download_url":"https://codeload.github.com/casualjim/sbt-jelastic-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252973607,"owners_count":21834104,"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":[],"created_at":"2024-10-05T05:01:45.052Z","updated_at":"2025-05-07T23:39:42.698Z","avatar_url":"https://github.com/casualjim.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy a war to jelastic.\n\nThis sbt plugin deploys a war generated by the xsbt-web-plugin, as such it depends on the xsbt-web-plugin.\nThe plugin will add the xsbt-web-plugin to your build too but won't configure it.\nFor more information on how to configure the xsbt-web-plugin, visit its [wiki](https://github.com/siasia/xsbt-web-plugin/wiki/)\n\n## Installing the plugin\n\nAdd plugin resolver\n\n```scala\nresolvers += Resolver.url(\"sbt-plugin-releases\",\n  new URL(\"http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/\"))(Resolver.ivyStylePatterns)\n```\n\nFor sbt 0.13.x\n\n```scala\naddSbtPlugin(\"com.github.casualjim\" % \"sbt-jelastic-deploy\" % \"0.1.4\")\n```\n\n\nFor sbt 0.12.x\n\n```scala\naddSbtPlugin(\"com.github.casualjim\" % \"sbt-jelastic-deploy\" % \"0.1.2\")\n```\n\nIf you use this plugin in conjuction with xsbt-gpg-plugin you need version 0.7 or higher.\nCurrently this isn't available in maven yet but you can add a source dependency in ~/.sbt/plugins/project/plugins.scala. And remove the declaration in your ~/.sbt/plugins/plugins.sbt file.\n\n```scala\nimport sbt._\nimport Keys._\n\nobject GlobalPluginsBuild extends Build {\n  \n  lazy val root = (Project(\"plugins\", file(\".\")) \n                    dependsOn uri(\"git://github.com/sbt/xsbt-gpg-plugin.git#sbt-0.12\"))\n}\n```\n\n## Configuring the plugin\n\nThe plugin requires a couple of keys to be set. In build.sbt:\n\n```scala\nimport JelasticKeys._\n\nseq(jelasticSettings:_*)\n\nemail in deploy := \"YOUR_EMAIL_HERE\"\n\npassword in deploy := \"YOUR PASSWORD HERE\"\n\napiHoster := \"app.j.layershift.co.uk\"\n\nenvironment in deploy := \"YOUR_ENVIRONMENT_HERE\"\n```\n\nOptionally you can configure some other properties too, these are shown below with their default values:\n\n```scala\ncomment in deploy := \"\"\n\ncomment in upload := \"\"\n\ncontext in deploy := \"ROOT\"\n\nonlyUpload in deploy := false\n\nport in deploy := 443\n\nport in upload := 443\n```\n\n## Using the plugin\n\nThe plugin adds 2 tasks: `deploy` and `upload`\n\nThe `upload` task will build a war and then upload it to the jelastic api host.\nThe `deploy` task will build a war, then upload and deploy it to the specified environment and context.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasualjim%2Fsbt-jelastic-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasualjim%2Fsbt-jelastic-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasualjim%2Fsbt-jelastic-deploy/lists"}