The Israeli military said it had carried out air strikes on a Hamas training compound in the Gaza Strip in response to rocket attacks from the Palestinian territory.

Militants in Gaza have stepped up rocket attacks on Israel since Donald Trump's decision to recognise Jerusalem as the country's capital.

They have launched more than a dozen rockets into southern Israel over the last two weeks, the most intensive attacks since a seven-week-long Gaza war in 2014.

Donald Trump officially recognises Jerusalem as Israel's capital

Two rockets were fired late on Sunday, one of them exploding inside an Israeli border community and the other hitting an open area, the military said. Another rocket launched early on Monday fell short inside Gaza, it said.

Three structures in a Hamas training camp were hit in the Israeli counter-strike, the military said. Neither side reported any casualties.

Israel has said it holds the Islamist militant group, which has controlled Gaza for over a decade, responsible for all rocket fire emanating from the territory.

Palestinians clash with Israeli troops during 'Day of Rage' Show all 18 1 /18 Palestinians clash with Israeli troops during 'Day of Rage' Palestinians clash with Israeli troops during 'Day of Rage' Israeli forces scuffle with Palestinians at Damascus Gate in Jerusalem's Old City AFP/Getty Images Palestinians clash with Israeli troops during 'Day of Rage' A Palestinian protester hurls stones as tear gas is fired by Israeli troops Reuters Palestinians clash with Israeli troops during 'Day of Rage' A Palestinian protester runs during clashes with Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli forces scuffle with Palestinians at Damascus Gate in Jerusalem's Old City AFP/Getty Images Palestinians clash with Israeli troops during 'Day of Rage' Palestinian protesters run during clashes REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli border policemen and a Palestinian protesters clash REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Palestinian protesters react to tear gas REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli border policemen hold on to a Palestinian protester REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Palestinian protesters react to tear gas fired by Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli border policemen and Palestinians scuffle after Friday prayers in Jerusalem's Old City REUTERS Palestinians clash with Israeli troops during 'Day of Rage' A Palestinian protester moves a burning tire during clashes with Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Worshippers chant as they hold Palestinian flags after Friday prayers Reuters Palestinians clash with Israeli troops during 'Day of Rage' A Palestinian protester hurls back a tear gas canister fired by Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' A wounded Palestinian protester is evacuated during clashes with Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli border policemen and a Palestinian youth scuffle REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Israeli border policemen detain a Palestinian man REUTERS Palestinians clash with Israeli troops during 'Day of Rage' A Palestinian protester uses a sling to hurl stones towards Israeli troops REUTERS Palestinians clash with Israeli troops during 'Day of Rage' Journalists react to tear gas fired by Israeli troops REUTERS

Hamas usually evacuates such facilities when tensions rise, and Israel's choice of the low-profile target appeared to signal a desire to avoid more serious confrontation with the group.

"Israel does not seek escalation," Justice Minister Ayelet Shaked said on Army Radio.

But Zeev Elkin, another member of Prime Minister Benjamin Netanyahu's security cabinet, said in an interview with the radio station that Israel's military response would "have to be harshened" if the rocket fire did not stop.