Skip to content
Automatically exported from
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


Automatically exported from


This Maven plugin is designed to be used in a continuous deployment scenario where the command to deploy an application to an app server is asynchronous.

How do you know when the deploy is complete so you can move on to the next step in the continuous deploy pipeline?

This Maven plugin will poll a given url for a specified period (while blocking) until it times out, or gets an expected response (yay, deploy complete!)

See for Example Use


  • 30 Dec, 2011: Version 1.0.3 - Renamed Goal to be Clearer
  • 28 Dec, 2011: Version 1.0.1 Bug fixed in failOnFailure Logic
  • 16 Dec, 2011: Version 1.0.0 - Initial Release.


Include the following in your pom.xml file. See the Configuration section for more info about the config parameters.

    <groupId> net.kennychua </ groupId> 
    <artifactId> maven-urlpoller-plugin </ artifactId> 
      <pollUrl> </ pollUrl> 
      <statusCode> 200 </ statusCode> 
      <secondsBetweenPolls> 10 </ secondsBetweenPolls> 
      <repeatFor> 5 </ repeatFor> 
      <failOnFailure> false </ failOnFailure> 
    </ configuration> 
  </ plugin> 
</ plugins>


Configuration Parameter Required Description
pollUrl Yes Specify the URL to poll eg
statusCode Yes Specify the HTTP status code to expect for a success eg 200
repeatFor Yes Specify how many times to try if the statusCode received was not as expected.
secondsBetweenPolls Yes Specify the number of seconds between retries.
failOnFailure No. Default is true Specify whether to continue with the build if the poll step does not receive the expected response in the specified period.





Poll a given URL for a HTTP status code. Specify the number of retries and interval between retries

Bound to

Maven pre-integration-test lifecycle phase

You can’t perform that action at this time.