{"id":19272626,"url":"https://github.com/tsundberg/maven-wait-plugin","last_synced_at":"2025-02-23T20:40:41.136Z","repository":{"id":47040367,"uuid":"96149247","full_name":"tsundberg/maven-wait-plugin","owner":"tsundberg","description":"A maven plugin that waits for an http resource to be available","archived":false,"fork":false,"pushed_at":"2023-08-15T17:44:30.000Z","size":88,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-05T13:42:24.946Z","etag":null,"topics":["http","java-8","maven-plugin","spark-java"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsundberg.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":"2017-07-03T20:47:21.000Z","updated_at":"2021-09-21T18:32:14.000Z","dependencies_parsed_at":"2024-11-09T20:37:36.011Z","dependency_job_id":"0471a021-3ace-4653-ad19-a68cdb77fe48","html_url":"https://github.com/tsundberg/maven-wait-plugin","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsundberg%2Fmaven-wait-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsundberg%2Fmaven-wait-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsundberg%2Fmaven-wait-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsundberg%2Fmaven-wait-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsundberg","download_url":"https://codeload.github.com/tsundberg/maven-wait-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240378874,"owners_count":19792038,"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":["http","java-8","maven-plugin","spark-java"],"created_at":"2024-11-09T20:37:29.043Z","updated_at":"2025-02-23T20:40:41.078Z","avatar_url":"https://github.com/tsundberg.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maven wait plugin\n\nA maven plugin that waits for an http resource to be available.\n\nIt will fail the build if the wanted resource isn't available within a time limit.\n\n## Usage\n\nSpecify the url and call the plugin during your build. \n\nThere is one goal. Maven requires you to call it explicit.\n\n## Configuration\n\n### Url\n\nThe url where an http resource should be available.\n\n    \u003curl\u003ehttp://localhost:4040//geo/rest/v1/gata\u003c/url\u003e\n\n### Timeout\n\nThe time in milliseconds to wait for a resource.\n\n    \u003ctimeout\u003e1000\u003c/timeout\u003e\n\n### Headers\n\nThe headers you want to set. Multiple headers are supported. Specify each header in a `headers` section.\n\nThis example specifies one header.\n\n    \u003cheaders\u003e\n        \u003capplicationId\u003eAcceptance test\u003c/applicationId\u003e\n    \u003c/headers\u003e\n\n### Example\n\nHere is a complete example where we are waiting for a resource to appear at `http://localhost:4040//geo/rest/v1/gata`, \nallow 1000 milliseconds before a timeout and set the header `applicationId` to `Acceptance test`\n\n    \u003cplugin\u003e\n        \u003cgroupId\u003ese.thinkcode.wait\u003c/groupId\u003e\n        \u003cartifactId\u003ehttp\u003c/artifactId\u003e\n        \u003cversion\u003e${project.version}\u003c/version\u003e\n        \u003cexecutions\u003e\n            \u003cexecution\u003e\n                \u003cgoals\u003e\n                    \u003cgoal\u003ewait\u003c/goal\u003e\n                \u003c/goals\u003e\n                \u003cconfiguration\u003e\n                    \u003curl\u003ehttp://localhost:4040/geo/rest/v1/gata\u003c/url\u003e\n                    \u003ctimeout\u003e1000\u003c/timeout\u003e\n                    \u003cheaders\u003e\n                        \u003capplicationId\u003eAcceptance test\u003c/applicationId\u003e\n                    \u003c/headers\u003e\n                \u003c/configuration\u003e\n            \u003c/execution\u003e\n        \u003c/executions\u003e\n    \u003c/plugin\u003e\n\n### Skip waiting\n\nSkip waiting by setting `http.wait.skip` to true\n\n    \u003chttp.wait.skip\u003etrue\u003c/http.wait.skip\u003e\n\nor by passing \n\n    -Dhttp.wait.skip\n\nwhen running Maven.\n\n### Waitable Status Codes\n\nBy default, this plugin waits as long as a `404` response status code is returned. You can configure additional status codes on which the plugin should wait via the `waitableStatuses` configurable element:\n\n    \u003cwaitableStatuses\u003e\n        \u003cwaitableStatus\u003e404\u003c/waitableStatus\u003e\n        \u003cwaitableStatus\u003e503\u003c/waitableStatus\u003e\n    \u003c/waitableStatuses\u003e\n\nThis will not append to the default of waiting on `404` responses, so you will need to deliberately specify that here if you wish to continue waiting on such a response status code. \n\n## Release\n\nInstructions are available in [release.md](./release.md) and at [Sonatype](http://central.sonatype.org/pages/apache-maven.html)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsundberg%2Fmaven-wait-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsundberg%2Fmaven-wait-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsundberg%2Fmaven-wait-plugin/lists"}