candidate: German units were to invade Poland from three directions : from the German mainland through the western Polish border from the north , from the exclave of East Prussia from the territory of Slovakia , accompanied by allied Slovak units All three assaults were to converge on Warsaw , while the main Polish army was to be encircled and destroyed west of the Vistula .