The answer of HaraldWeber is basically good. The version of the current trunk is wrong yet, it will set just before the release. It's to be decided which will be the final version number (5.2 or 6.0)
<code>tip: you may navigate from iProject to ivyProject also:
ivyProject= (IIvyProject) iProject.getAdapter(IIvyProject.class);pmv.getProject().getAdapter(IIvyProject.class);
</code>
<code>versionNumber = ivyProject.getVersion()</code>
So the 2 first digits of the Engine (e.g. "6.0" -> "60" ) should be greater or equal to the first 2 digits of the project version number. (e.g. 51902 -> "51") then your Engine is not older than the project.
In fact the engine contains some other validators which help to prove if a project is acceptable to be deployed or not. (e.g. Java classes are built)