{"id":22006308,"url":"https://github.com/javiorfo/nvim-wildcat","last_synced_at":"2025-05-05T21:51:08.091Z","repository":{"id":65797191,"uuid":"596360965","full_name":"javiorfo/nvim-wildcat","owner":"javiorfo","description":"Neovim plugin written in Lua for deploying Java war (or ear) files on Tomcat, JBoss or Wildfly","archived":false,"fork":false,"pushed_at":"2024-08-14T02:24:30.000Z","size":108,"stargazers_count":16,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-14T03:59:52.580Z","etag":null,"topics":["java","jboss","maven","neovim","neovim-plugin","tomcat","wildfly"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javiorfo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-02-02T02:22:57.000Z","updated_at":"2024-08-14T02:24:34.000Z","dependencies_parsed_at":"2023-07-12T19:01:41.497Z","dependency_job_id":"a81c9fb4-95a0-4e8b-a51d-bfcd5bfb24aa","html_url":"https://github.com/javiorfo/nvim-wildcat","commit_stats":null,"previous_names":["charkuils/nvim-wildcat","javiorfo/nvim-wildcat","caosystema/nvim-wildcat","progrimorio/nvim-wildcat","orfosys/nvim-wildcat","chaosystema/nvim-wildcat"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fnvim-wildcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fnvim-wildcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fnvim-wildcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javiorfo%2Fnvim-wildcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javiorfo","download_url":"https://codeload.github.com/javiorfo/nvim-wildcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227246914,"owners_count":17753428,"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":["java","jboss","maven","neovim","neovim-plugin","tomcat","wildfly"],"created_at":"2024-11-30T01:11:33.591Z","updated_at":"2024-11-30T01:11:34.709Z","avatar_url":"https://github.com/javiorfo.png","language":"Lua","funding_links":["https://www.paypal.com/donate/?hosted_button_id=FA7SGLSCT2H8G"],"categories":[],"sub_categories":[],"readme":"# nvim-wildcat\n### The Wildcat (WILDfly and tomCAT)\n*nvim-wildcat is a Neovim plugin written in Lua for running Wildfly, JBoss EAP or Tomcat servers. A useful plugin for Java (or other JVM language) developers who still use the aforemention servers. The base idea was to have a plugin like Eclipse server plugin*\n\n## Caveats\n- Ensure you have `Java` installed. Although it is a requisite to have Java to run Wildfly, JBoss EAP or Tomcat; this is the first requisite. \n- Ensure you have Maven installed. nvim-wildcat will throw an error by executing WildcatRun if `Maven` is not installed.\n- This plugin has been developed on and for Linux following open source philosophy.\n\n## Installation\n`Packer`\n```lua\nuse {\n    'javiorfo/nvim-wildcat',\n    requires = 'javiorfo/nvim-popcorn'\n}\n```\n`Lazy`\n```lua\n{\n    'javiorfo/nvim-wildcat',\n    lazy = true,\n    cmd = { \"WildcatRun\", \"WildcatUp\", \"WildcatInfo\" },\n    dependencies = { 'javiorfo/nvim-popcorn' },\n    opts = {\n        -- Not necessary. Only if you want to change the setup\n        -- The following are the default values\n\n        console_size = 15,\n        jboss = {\n            home = \"JBOSS_HOME\",\n            app_base = \"standalone/deployments\",\n            default = true\n        },\n        tomcat = {\n            home = \"CATALINA_HOME\",\n            app_base = \"webapps\",\n            default = false\n        }\n    }\n}\n```\n\n## Settings\n### Default Settings\n#### The following are the basics settings you need to use nvim-wildcat\n\n- By default these are de settings. You can modify one or multiple values in your _init.lua_ or _init.vim_:\n```lua\nrequire'wildcat'.setup{\n   console_size = 15,\n   jboss = {\n       home = \"JBOSS_HOME\",\n       app_base = \"standalone/deployments\",\n       default = true\n   },\n   tomcat = {\n       home = \"CATALINA_HOME\",\n       app_base = \"webapps\",\n       default = false\n   }\n}\n```\n\n- nvim-wildcat will take the 'home' values as environment variables and if they not exist, then will take the values as absolute paths.\n\n#### Example of custom settings:\n- If wanted to set only Tomcat server as default and set an absolute path, just set it this way:\n```lua\nrequire'wildcat'.setup{\n    tomcat = {\n        home = \"/path/to/tomcat\",\n        default = true\n    }\n}\n```\n\n## Usage\n### To deploy on the server\n- This command will run `mvn -q clean package` to build your app, it will deploy the war/ear in the deployments folder and it will start the server. To run it, inside the app root folder execute this command `:WildcatRun`\n- If you want to run this command outside the app root folder, pass the path by parameter `:WildcatRun /path/to/your/app/root/folder`\n\n### List of commands:\n| Command | Description                       |\n| -------------- | --------------------------------- |\n| `:WildcatClean`  | This command will delete the deployed files in _app base_ folder of the server |\n| `:WildcatDeploy` | This command will copy the current or absolute path of a war/ear the to _app base_ folder of the server |\n| `:WildcatDown`   | This command will stop the server |\n| `:WildcatEnableJBoss` | This command will enable JBoss (is the default) |\n| `:WildcatEnableTomcat` | This command will enable Tomcat |\n| `:WildcatInfo` | This command will show info about your config (server, home, app base and deployed files) |\n| `:WildcatRun`    | This command will build with Maven, copy the war/ear file to the server and start the server|\n| `:WildcatUp` | This command will start the server |\n\n## Screenshots\n\n\u003cimg src=\"https://github.com/javiorfo/img/blob/master/nvim-wildcat/wildcat2.gif?raw=true\" alt=\"wildcat\" /\u003e\n\n**NOTE:** The colorscheme **umbra** from [nvim-nyctophilia](https://github.com/javiorfo/nvim-nyctophilia) is used in this image\n\n## Documentation\n- nvim-wilcat comes with built-in doc `:help wildcat`\n\n## Troubleshooting\n- When running Tomcat sometimes an execution permission is needed for catalina.sh. This will help:\n```console\n[user@host ~]$ chmod +x $CATALINA_HOME/bin/catalina.sh\n```\n\n---\n\n### Donate\n- **Bitcoin** [(QR)](https://raw.githubusercontent.com/javiorfo/img/master/crypto/bitcoin.png)  `1GqdJ63RDPE4eJKujHi166FAyigvHu5R7v`\n- [Paypal](https://www.paypal.com/donate/?hosted_button_id=FA7SGLSCT2H8G) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaviorfo%2Fnvim-wildcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaviorfo%2Fnvim-wildcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaviorfo%2Fnvim-wildcat/lists"}