I have to ask...Is the caliper off? If so, get a bigger mallet and hit harder! Brake rotors tend to rust on the hub.
Also, when you reassemble, put some never seize on the hub first. You can also put it on the inside of the rim where it meets the rotor. Next time you won't have the same problem.