{"id":16807651,"url":"https://github.com/borsch/war-deployer","last_synced_at":"2025-03-17T08:41:55.734Z","repository":{"id":120033091,"uuid":"148759763","full_name":"borsch/war-deployer","owner":"borsch","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-14T08:33:05.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T18:14:40.397Z","etag":null,"topics":[],"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/borsch.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":"2018-09-14T08:31:41.000Z","updated_at":"2018-09-14T08:33:07.000Z","dependencies_parsed_at":"2023-06-14T19:15:18.276Z","dependency_job_id":null,"html_url":"https://github.com/borsch/war-deployer","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/borsch%2Fwar-deployer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borsch%2Fwar-deployer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borsch%2Fwar-deployer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borsch%2Fwar-deployer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borsch","download_url":"https://codeload.github.com/borsch/war-deployer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244003846,"owners_count":20382280,"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-13T09:54:22.610Z","updated_at":"2025-03-17T08:41:55.697Z","avatar_url":"https://github.com/borsch.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## WAR deployer\n\n## Create binary file\nYou need to configure Java environment. a\n    \n- add `JAVA_HOME` environment variable\n- add `M2_HOME` environment variable\n\nin the source directory run `mvn clean install` from command line or terminal\nin newly created directory `target` you can find `war-deployer.jar`\n\n\n## Using\nTo deploy new version to Tomcat move `war-deployer.jar` to location, where your `war` files is located. \nBy default it's `CATALINA_HOME\\webapps`. You need to add configuration file `config.cfg` to same directory. \nConfiguration file must have following content\n\n    old-war-name=exploaded_folder\n    new-war-url=http://example.com/path/to/download/new.war\n    start-cmd=net start tomcat\n    stop-cmd=net stop tomcat\n    \n\n- `old-war-name` - is a name of exploded folder. both folder and `war` file will be proceed. For example if you enter `my_website`, than\n`/my_website` folder and `my_website.war` will be proceed\n- `new-war-url` - URL location of new `war` file\n- `stop-cmd` - this command will be executed after successful new war downloaded and before zipping process\n- `start-cmd` - this command will be executed in the end of process\n\nwhen you configure everything, than in the command line or terminal you can enter\n`java -jar war-deployer.jar`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborsch%2Fwar-deployer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborsch%2Fwar-deployer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborsch%2Fwar-deployer/lists"}