Not being an NPT member does not mean certain attack. Look at Israel, North Korea, India, and Pakistan; no one attacks their nuke sites. No war is ever justified. People create wars to satisfy their own agenda.
U.S. to deliver 8 advanced F-16s to Egypt on July 30-31, U.S. embassy in Cairo says (Reuters)
from the article: Israel helped Jordan with its nuclear energy program, official says