Never tried to bait bear on purpose, but the best luck I have had was 4 of us deer hunting in PA. We were cooking pork chops on a BBQ grill for dinner. 2 big bears came in, and would not leave. Got to the point enough was enough, and a couple shots in the ground worked for a while, but later that night, we could see their eyes in the flashlights, staying about 50 yards out. Cool, except we were tent camping...
Had no more problems from that pair, though, just coons.
I been on a couple baited hunts in Maine, and sweets / pastry seems to be what is often used, though on a short term bait, something stronger smelling might work better. Just a note, Maine has specific laws related to baiting, so you might want to get on line and look at the hunting regs.
Larry