Last time I epoxy'd magnets I did make up a batch of epoxy, dabbed it in between the magnets and had the motor spin around in the lathe untiel the glue was hardened.