I've cut up several trees, and I believe that one tree had bugs in it before it was cut down. Get the bark off asap, cut into planks asap, then cut into blanks, paint the ends, sticker it up all before the weather gets too warm.
I expect some kind of pesticide would help while curing the wood.
It doesn't matter how hard the maple is, those little buggers can make swiss cheese out of your blanks.