You can also use the new Surface Deform modifier in blender 2.79.
https://docs.blender.org/manual/en/dev/modeling/modifiers/deform/surface_deform.html
- Select one of the objects you want to follow the plane
- Go to the modifiers panel and create a Surface Deform modifier
- Set the surface it's following to the plane.
it's pretty sweetNow the object should be following the plane. To copy this modifier to the other objects:
- Select the other objects
- shift+select the cube that has the modifier on it
- hit ctrl+l to bring up the "make links" menu
- choose Modifiers - this will copy the modifier from the cube with the modifier to the other cubes
hope that helps!